aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngLocale/angular-locale_zh-hant-mo.js
diff options
context:
space:
mode:
authorIgor Minar2013-08-22 02:08:41 -0700
committerIgor Minar2013-08-26 09:06:25 -0700
commit6b91aa0a18098100e5f50ea911ee135b50680d67 (patch)
tree636d84df13da7afa31b6ac9d3db45dc00e78c2d4 /src/ngLocale/angular-locale_zh-hant-mo.js
parent42af8eada2803a54a98b4f792e60feb480d68a0c (diff)
downloadangular.js-6b91aa0a18098100e5f50ea911ee135b50680d67.tar.bz2
feat(Scope): async auto-flush $evalAsync queue when outside of $digest
This change causes a new $digest to be scheduled in the next tick if a task was was sent to the $evalAsync queue from outside of a $digest or an $apply. While this mode of operation is not common for most of the user code, this change means that $q promises that utilze $evalAsync queue to guarantee asynchronicity of promise apis will now also resolve outside of a $digest, which turned out to be a big pain point for some developers. The implementation ensures that we don't do more work than needed and that we coalese as much work as possible into a single $digest. The use of $browser instead of setTimeout ensures that we can mock out and control the scheduling of "auto-flush", which should in theory allow all of the existing code and tests to work without negative side-effects. Closes #3539 Closes #2438
Diffstat (limited to 'src/ngLocale/angular-locale_zh-hant-mo.js')
0 files changed, 0 insertions, 0 deletions