angular.js/test
Igor Minar 6b91aa0a18 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
2013-08-26 09:06:25 -07:00
..
auto feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
helpers chore: reorganize test helper files under test/helpers 2013-08-23 15:46:11 -07:00
ng feat(Scope): async auto-flush $evalAsync queue when outside of $digest 2013-08-26 09:06:25 -07:00
ngAnimate test(docs): disable brittle tests that need to be rewritten 2013-08-25 14:46:54 -07:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMock fix(mocks): $timeout#flush should not update time when empty 2013-08-25 14:46:55 -07:00
ngResource test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
ngRoute feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
ngSanitize fix(sanitize): match URI schemes case-insensitively 2013-07-12 09:29:21 +01:00
ngScenario feat(scenario): expose jQuery for usage outside of angular scenario 2013-07-31 15:50:12 -07:00
ngTouch chore(ngMobile): rename module ngTouch and file to angular-touch.js 2013-08-09 11:54:35 -07:00
AngularSpec.js test: rename / remove duplicate unit tests 2013-08-23 12:43:42 -07:00
ApiSpecs.js feat(ngRepeat): add support for custom tracking of items 2013-03-29 23:01:52 -07:00
BinderSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
jqLiteSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js feat(jqLite): switch bind/unbind to more recent jQuery on/off 2013-06-19 20:53:24 +01:00
loaderSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
minErrSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00