mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 08:59:35 +08:00
1d14760c6d3eefb676f5670bc323b2a7cadcdbfa
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.
Angular
Compiling
rake compile
Running Tests
rake server:start
rake test
Languages
JavaScript
98.8%
HTML
0.6%
Shell
0.4%
PHP
0.1%