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

Commit 4dfb80d

Browse files
docs($location): fix trailing whitespace
Closes #11741 Closes #11744
1 parent 368039b commit 4dfb80d

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
@@ -412,15 +412,15 @@ var locationPrototype = {
412412
* This method is getter only.
413413
*
414414
* Return host of current url.
415-
*
415+
*
416416
* Note: compared to the non-angular version `location.host` which returns `hostname:port`, this returns the `hostname` portion only.
417417
*
418418
*
419419
* ```js
420420
* // given url http://example.com/#/some/path?foo=bar&baz=xoxo
421421
* var host = $location.host();
422422
* // => "example.com"
423-
*
423+
*
424424
* // given url http://user:password@example.com:8080/#/some/path?foo=bar&baz=xoxo
425425
* host = $location.host();
426426
* // => "example.com"

0 commit comments

Comments
 (0)