From 7cf70c587e436014b2148eb4f12ecda307d25957 Mon Sep 17 00:00:00 2001 From: Anthony Lieuallen Date: Mon, 14 Feb 2011 13:17:04 -0500 Subject: Small spelling and grammar fixes in documentation. --- src/Browser.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Browser.js') 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; }; -- cgit v1.2.3