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/ngMock | |
| parent | 6b18a564dd327f598249760a8200dd1fa657d9e5 (diff) | |
| download | angular.js-9bffccd935db50c005befdc800275cf6a4c37ec1.tar.bz2 | |
docs($interval): cancel() takes a promise not a number
Closes #6485
Diffstat (limited to 'src/ngMock')
| -rw-r--r-- | src/ngMock/angular-mocks.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ngMock/angular-mocks.js b/src/ngMock/angular-mocks.js index 413e0aae..6a60d9bb 100644 --- a/src/ngMock/angular-mocks.js +++ b/src/ngMock/angular-mocks.js @@ -498,7 +498,7 @@ angular.mock.$IntervalProvider = function() {       * @description       * Cancels a task associated with the `promise`.       * -     * @param {number} promise A promise from calling the `$interval` function. +     * @param {promise} promise A promise from calling the `$interval` function.       * @returns {boolean} Returns `true` if the task was successfully cancelled.       */      $interval.cancel = function(promise) { | 
