diff options
| author | Anthony Lieuallen | 2011-02-14 13:17:04 -0500 |
|---|---|---|
| committer | Igor Minar | 2011-02-16 00:04:15 -0500 |
| commit | 7cf70c587e436014b2148eb4f12ecda307d25957 (patch) | |
| tree | df8171b59e9abd8515fcb93fd5901abcd08af9f7 /src/Browser.js | |
| parent | 1777110958f76ee4be5760e36c96702223385918 (diff) | |
| download | angular.js-7cf70c587e436014b2148eb4f12ecda307d25957.tar.bz2 | |
Small spelling and grammar fixes in documentation.
Diffstat (limited to 'src/Browser.js')
| -rw-r--r-- | src/Browser.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Browser.js b/src/Browser.js index bc278b28..7f8ee729 100644 --- a/src/Browser.js +++ b/src/Browser.js @@ -228,7 +228,7 @@ function Browser(window, document, body, XHR, $log) { * The listener gets called with either HashChangeEvent object or simple object that also contains * `oldURL` and `newURL` properties. * - * NOTE: this is a api is intended for sole use by $location service. Please use + * NOTE: this api is intended for use only by the $location service. Please use the * {@link angular.service.$location $location service} to monitor hash changes in angular apps. * * @param {function(event)} listener Listener function to be called when url hash changes. @@ -330,7 +330,7 @@ function Browser(window, document, body, XHR, $log) { * Executes a fn asynchroniously via `setTimeout(fn, delay)`. * * Unlike when calling `setTimeout` directly, in test this function is mocked and instead of using - * `setTimeout` in tests, the fns are queued in an array, which can be programaticaly flushed via + * `setTimeout` in tests, the fns are queued in an array, which can be programmatically flushed via * `$browser.defer.flush()`. * */ @@ -353,7 +353,7 @@ function Browser(window, document, body, XHR, $log) { * @description * Set hover listener. * - * @param {function(Object, boolean)} listener Function that will be called when hover event + * @param {function(Object, boolean)} listener Function that will be called when a hover event * occurs. */ self.hover = function(listener) { hoverListener = listener; }; |
