diff options
| author | Igor Minar | 2014-01-22 11:13:36 -0800 |
|---|---|---|
| committer | Igor Minar | 2014-01-22 11:14:59 -0800 |
| commit | 7f444a205e87bff66c924040a102e5442bbc61c6 (patch) | |
| tree | 3eb025110e2cd8bc3bd45ae201456d897d664ace | |
| parent | 82213efff23a71ca37e1a99c11ef6bc49b1af1eb (diff) | |
| download | angular.js-7f444a205e87bff66c924040a102e5442bbc61c6.tar.bz2 | |
style($interval): remove ws and replace comma with semicolon
| -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); |
