diff options
| author | MikeMcElroy | 2014-02-27 15:33:25 -0600 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-03-02 16:07:44 +0000 | 
| commit | 9bffccd935db50c005befdc800275cf6a4c37ec1 (patch) | |
| tree | 395f4b92bea422c9541bc176edeb314b4fe59463 /src/ng | |
| parent | 6b18a564dd327f598249760a8200dd1fa657d9e5 (diff) | |
| download | angular.js-9bffccd935db50c005befdc800275cf6a4c37ec1.tar.bz2 | |
docs($interval): cancel() takes a promise not a number
Closes #6485
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/interval.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ng/interval.js b/src/ng/interval.js index 9857860d..1a460e24 100644 --- a/src/ng/interval.js +++ b/src/ng/interval.js @@ -168,7 +168,7 @@ function $IntervalProvider() {        * @description        * Cancels a task associated with the `promise`.        * -      * @param {number} promise Promise returned by the `$interval` function. +      * @param {promise} promise returned by the `$interval` function.        * @returns {boolean} Returns `true` if the task was successfully canceled.        */      interval.cancel = function(promise) { | 
