diff options
| author | Matias Niemelä | 2014-02-14 00:53:49 -0500 | 
|---|---|---|
| committer | Igor Minar | 2014-02-14 16:28:56 -0800 | 
| commit | cf5e463abd2c23f62e9c2e6361e6c53048c8910e (patch) | |
| tree | 1833c0e402b67b2bb5298fa0db91f8329eafc1fe /test/ng/compileSpec.js | |
| parent | f288b8f010468237d238acf51ea3d8108138207a (diff) | |
| download | angular.js-cf5e463abd2c23f62e9c2e6361e6c53048c8910e.tar.bz2 | |
pref($animate): only trigger DOM callbacks if registered on the element being animated
BREAKING CHANGE: Both the `$animate:before` and `$animate:after` DOM events must be now
registered prior to the $animate operation taking place. The `$animate:close` event
can be registered anytime afterwards.
DOM callbacks used to fired for each and every animation operation that occurs within the
$animate service provided in the ngAnimate module. This may end up slowing down an
application if 100s of elements are being inserted into the page. Therefore after this
change callbacks are only fired if registered on the element being animated.
Diffstat (limited to 'test/ng/compileSpec.js')
0 files changed, 0 insertions, 0 deletions
