diff options
Diffstat (limited to 'src/ng/interval.js')
| -rw-r--r-- | src/ng/interval.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/interval.js b/src/ng/interval.js index bde4e25e..cd823f59 100644 --- a/src/ng/interval.js +++ b/src/ng/interval.js @@ -24,7 +24,7 @@ function $IntervalProvider() { * 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. - * + * * <div class="alert alert-warning"> * **Note**: Intervals created by this service must be explicitly destroyed when you are finished * with them. In particular they are not automatically destroyed when a controller's scope or a @@ -137,8 +137,8 @@ function $IntervalProvider() { promise = deferred.promise, iteration = 0, skipApply = (isDefined(invokeApply) && !invokeApply); - - count = isDefined(count) ? count : 0, + + count = isDefined(count) ? count : 0; promise.then(null, null, fn); |
