mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
style($interval): remove ws and replace comma with semicolon
This commit is contained in:
parent
82213efff2
commit
7f444a205e
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue