diff options
| author | Igor Minar | 2011-11-30 14:47:28 -0500 |
|---|---|---|
| committer | Igor Minar | 2011-11-30 14:49:36 -0500 |
| commit | 1d14760c6d3eefb676f5670bc323b2a7cadcdbfa (patch) | |
| tree | 48c120bdde57ed7200ee53014781ca778b2f96ef /src/apis.js | |
| parent | baa7af0df099fd4bfabe1e90d275822d2558d69c (diff) | |
| download | angular.js-1d14760c6d3eefb676f5670bc323b2a7cadcdbfa.tar.bz2 | |
fix(ng:include): prevent race conditions by ignoring stale http callbacks
This fix is similar to what I've done in ng:view, if a new template has been requested before the
callback for the previous template returned, ignore it. Otherwise weird race conditions happen
and users might end up getting the content for the previous include rendered instead of the most
recent one.
Diffstat (limited to 'src/apis.js')
0 files changed, 0 insertions, 0 deletions
