diff options
| author | Igor Minar | 2013-07-22 08:59:20 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-07-22 11:27:53 -0700 | 
| commit | 3967f5f7d6c8aa7b41a5352b12f457e2fbaa251a (patch) | |
| tree | c0fc0433b238e553cb5c2bcea3c9cf7d18f38ae4 /src | |
| parent | e14e21904aa61c293cfcb4bd447fabcd192601e4 (diff) | |
| download | angular.js-3967f5f7d6c8aa7b41a5352b12f457e2fbaa251a.tar.bz2 | |
fix(Scope): ensure that isolate scopes use the main evalAsync queue
Previously any $evalAsync task scheduled from a isolate scope or a child of an isolate scope
would never execute because we never flushed this queue
Diffstat (limited to 'src')
| -rw-r--r-- | src/ng/rootScope.js | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index 06609862..2e76d6ee 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -165,6 +165,8 @@ function $RootScopeProvider(){          if (isolate) {            child = new Scope();            child.$root = this.$root; +          // ensure that there is just one async queue per $rootScope and it's children +          child.$$asyncQueue = this.$$asyncQueue;          } else {            Child = function() {}; // should be anonymous; This is so that when the minifier munges              // the name it does not become random set of chars. These will then show up as class | 
