aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/interval.js
diff options
context:
space:
mode:
authorVojta Jina2013-10-17 19:25:08 -0700
committerIgor Minar2013-10-18 15:35:41 -0700
commit14438058da39c3e523f420549074934ca5881b09 (patch)
treeacc97d90025e9d80f9869012554763233f412caf /src/ng/interval.js
parente8cc85f733a49ca53e8cda5a96bbaacc9a20ac7e (diff)
downloadangular.js-14438058da39c3e523f420549074934ca5881b09.tar.bz2
docs: correct broken links
This also contains some whitespace corrections by my editor.
Diffstat (limited to 'src/ng/interval.js')
-rw-r--r--src/ng/interval.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/interval.js b/src/ng/interval.js
index e612f3e4..04493b11 100644
--- a/src/ng/interval.js
+++ b/src/ng/interval.js
@@ -21,7 +21,7 @@ function $IntervalProvider() {
* number of iterations that have run.
* To cancel an interval, call `$interval.cancel(promise)`.
*
- * In tests you can use {@link ngMock.$interval#flush `$interval.flush(millis)`} to
+ * In tests you can use {@link ngMock.$interval#methods_flush `$interval.flush(millis)`} to
* move forward by `millis` milliseconds and trigger any functions scheduled to run in that
* time.
*
@@ -30,7 +30,7 @@ function $IntervalProvider() {
* @param {number=} [count=0] Number of times to repeat. If not set, or 0, will repeat
* indefinitely.
* @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise
- * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.
+ * will invoke `fn` within the {@link ng.$rootScope.Scope#methods_$apply $apply} block.
* @returns {promise} A promise which will be notified on each iteration.
*/
function interval(fn, delay, count, invokeApply) {