aboutsummaryrefslogtreecommitdiffstats
path: root/angularFiles.js
diff options
context:
space:
mode:
authorJulie2013-09-13 12:47:05 -0700
committerVojta Jina2013-10-07 13:45:40 -0700
commit2b5ce84fca7b41fca24707e163ec6af84bc12e83 (patch)
treed3fbcfd3c7e2e62fe60df6faa9823abda57b9bd7 /angularFiles.js
parenta80e96cea184b392505f0a292785a5c66d45e165 (diff)
downloadangular.js-2b5ce84fca7b41fca24707e163ec6af84bc12e83.tar.bz2
feat($interval): add a service wrapping setInterval
The $interval service simplifies creating and testing recurring tasks. This service does not increment $browser's outstanding request count, which means that scenario tests and Protractor tests will not timeout when a site uses a polling function registered by $interval. Provides a workaround for #2402. For unit tests, repeated tasks can be controlled using ngMock$interval's tick(), tickNext(), and tickAll() functions.
Diffstat (limited to 'angularFiles.js')
-rwxr-xr-xangularFiles.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/angularFiles.js b/angularFiles.js
index cd23aca0..946cff45 100755
--- a/angularFiles.js
+++ b/angularFiles.js
@@ -20,6 +20,7 @@ angularFiles = {
'src/ng/http.js',
'src/ng/httpBackend.js',
'src/ng/interpolate.js',
+ 'src/ng/interval.js',
'src/ng/locale.js',
'src/ng/location.js',
'src/ng/log.js',