aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngMock/angular-mocks.js
diff options
context:
space:
mode:
authorMikeMcElroy2014-02-27 15:33:25 -0600
committerPeter Bacon Darwin2014-03-02 16:07:44 +0000
commit9bffccd935db50c005befdc800275cf6a4c37ec1 (patch)
tree395f4b92bea422c9541bc176edeb314b4fe59463 /src/ngMock/angular-mocks.js
parent6b18a564dd327f598249760a8200dd1fa657d9e5 (diff)
downloadangular.js-9bffccd935db50c005befdc800275cf6a4c37ec1.tar.bz2
docs($interval): cancel() takes a promise not a number
Closes #6485
Diffstat (limited to 'src/ngMock/angular-mocks.js')
-rw-r--r--src/ngMock/angular-mocks.js2
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) {