Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f166308

Browse files
docs($location): fix trailing whitespace
Closes #11741 Closes #11744
1 parent 84daf97 commit f166308

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/location.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -413,15 +413,15 @@ var locationPrototype = {
413413
* This method is getter only.
414414
*
415415
* Return host of current url.
416-
*
416+
*
417417
* Note: compared to the non-angular version `location.host` which returns `hostname:port`, this returns the `hostname` portion only.
418418
*
419419
*
420420
* ```js
421421
* // given url http://example.com/#/some/path?foo=bar&baz=xoxo
422422
* var host = $location.host();
423423
* // => "example.com"
424-
*
424+
*
425425
* // given url http://user:password@example.com:8080/#/some/path?foo=bar&baz=xoxo
426426
* host = $location.host();
427427
* // => "example.com"

0 commit comments

Comments
 (0)