aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/browser.js
diff options
context:
space:
mode:
authorIgor Minar2014-01-02 21:29:28 -0800
committerIgor Minar2014-01-02 21:30:00 -0800
commit7dfedb732dad5ba1f1f21ff611a82ecf8327916c (patch)
tree8165684ec0be149429b04fcd345658cc15ed5809 /src/ng/browser.js
parent760f2fb73178e56c37397b3c5876f7dac96f0455 (diff)
downloadangular.js-7dfedb732dad5ba1f1f21ff611a82ecf8327916c.tar.bz2
style($browser): remove ws, fix typo
Diffstat (limited to 'src/ng/browser.js')
-rw-r--r--src/ng/browser.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ng/browser.js b/src/ng/browser.js
index 3bb51b57..73606fe7 100644
--- a/src/ng/browser.js
+++ b/src/ng/browser.js
@@ -202,7 +202,7 @@ function Browser(window, document, $log, $sniffer) {
* @description
* Register callback function that will be called, when url changes.
*
- * It's only called when the url is changed by outside of angular:
+ * It's only called when the url is changed from outside of angular:
* - user types different url into address bar
* - user clicks on history (forward/back) button
* - user clicks on a link
@@ -244,7 +244,7 @@ function Browser(window, document, $log, $sniffer) {
/**
* @name ng.$browser#baseHref
* @methodOf ng.$browser
- *
+ *
* @description
* Returns current <base href>
* (always relative - without domain)
@@ -275,13 +275,13 @@ function Browser(window, document, $log, $sniffer) {
* It is not meant to be used directly, use the $cookie service instead.
*
* The return values vary depending on the arguments that the method was called with as follows:
- *
+ *
* - cookies() -> hash of all cookies, this is NOT a copy of the internal state, so do not modify
* it
* - cookies(name, value) -> set name to value, if value is undefined delete the cookie
* - cookies(name) -> the same as (name, undefined) == DELETES (no one calls it right now that
* way)
- *
+ *
* @returns {Object} Hash of all cookies (if called without any parameter)
*/
self.cookies = function(name, value) {