aboutsummaryrefslogtreecommitdiffstats
path: root/test/widgetsSpec.js
diff options
context:
space:
mode:
authorVojta Jina2012-01-13 16:38:08 -0800
committerVojta Jina2012-01-14 11:23:12 -0800
commitc49b8a2db5d916a9213547125af996d6c853230c (patch)
treed8e4d639306790d2466ba01b15410342db4c2d7c /test/widgetsSpec.js
parent5cdfe45aa3e50fabad44009c1b8511253c6e4915 (diff)
downloadangular.js-c49b8a2db5d916a9213547125af996d6c853230c.tar.bz2
fix($location): do not $digest if browser's url change fired within $apply/$digest
Chrome (probably other browsers as well) fires 'hashchange' event synchronously, so if you change raw location from within $apply/$digest, we don't want to $apply twice. (It would throw an exception)
Diffstat (limited to 'test/widgetsSpec.js')
0 files changed, 0 insertions, 0 deletions