Skip to content

Commit 11002c6

Browse files
IgorMinarjamesdaily
authored andcommitted
style($browser): remove ws, fix typo
1 parent e306cbe commit 11002c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ng/browser.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function Browser(window, document, $log, $sniffer) {
202202
* @description
203203
* Register callback function that will be called, when url changes.
204204
*
205-
* It's only called when the url is changed by outside of angular:
205+
* It's only called when the url is changed from outside of angular:
206206
* - user types different url into address bar
207207
* - user clicks on history (forward/back) button
208208
* - user clicks on a link
@@ -244,7 +244,7 @@ function Browser(window, document, $log, $sniffer) {
244244
/**
245245
* @name ng.$browser#baseHref
246246
* @methodOf ng.$browser
247-
*
247+
*
248248
* @description
249249
* Returns current <base href>
250250
* (always relative - without domain)
@@ -275,13 +275,13 @@ function Browser(window, document, $log, $sniffer) {
275275
* It is not meant to be used directly, use the $cookie service instead.
276276
*
277277
* The return values vary depending on the arguments that the method was called with as follows:
278-
*
278+
*
279279
* - cookies() -> hash of all cookies, this is NOT a copy of the internal state, so do not modify
280280
* it
281281
* - cookies(name, value) -> set name to value, if value is undefined delete the cookie
282282
* - cookies(name) -> the same as (name, undefined) == DELETES (no one calls it right now that
283283
* way)
284-
*
284+
*
285285
* @returns {Object} Hash of all cookies (if called without any parameter)
286286
*/
287287
self.cookies = function(name, value) {

0 commit comments

Comments
 (0)