aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/browser.js
diff options
context:
space:
mode:
authorPascal Borreli2013-03-21 19:09:47 +0000
committerPawel Kozlowski2013-03-29 23:14:55 +0100
commit9480136d9f062ec4b8df0a35914b48c0d61e0002 (patch)
tree5d345c7be4f20b4ad688ede7ed6be4147a91cb45 /src/ng/browser.js
parent4ae46814ff4e7c0bbcdbbefc0a97277283a84065 (diff)
downloadangular.js-9480136d9f062ec4b8df0a35914b48c0d61e0002.tar.bz2
docs(*): fixed typos
Diffstat (limited to 'src/ng/browser.js')
-rw-r--r--src/ng/browser.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/browser.js b/src/ng/browser.js
index fa050d54..bda372be 100644
--- a/src/ng/browser.js
+++ b/src/ng/browser.js
@@ -252,7 +252,7 @@ function Browser(window, document, $log, $sniffer) {
* @methodOf ng.$browser
*
* @param {string=} name Cookie name
- * @param {string=} value Cokkie value
+ * @param {string=} value Cookie value
*
* @description
* The cookies method provides a 'private' low level access to browser cookies.
@@ -314,7 +314,7 @@ function Browser(window, document, $log, $sniffer) {
* @returns {*} DeferId that can be used to cancel the task via `$browser.defer.cancel()`.
*
* @description
- * Executes a fn asynchroniously via `setTimeout(fn, delay)`.
+ * Executes a fn asynchronously 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 programmatically flushed
@@ -341,7 +341,7 @@ function Browser(window, document, $log, $sniffer) {
* Cancels a defered task identified with `deferId`.
*
* @param {*} deferId Token returned by the `$browser.defer` function.
- * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfuly canceled.
+ * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully canceled.
*/
self.defer.cancel = function(deferId) {
if (pendingDeferIds[deferId]) {