不要怂,就是干,撸起袖子干!

Commit 1d99a072 by Verdier

Revert scopeInclude clone. Better fixed by #4518

1 parent abb9bd96
Showing with 0 additions and 3 deletions
...@@ -2562,9 +2562,6 @@ Model.$injectScope = function (scope, options) { ...@@ -2562,9 +2562,6 @@ Model.$injectScope = function (scope, options) {
} }
return sameModel; return sameModel;
})) { })) {
// Do not inject Model.$scope.include directly,
// make a shallow copy (#4470).
scopeInclude = _.clone(scopeInclude);
options.include.push(scopeInclude); options.include.push(scopeInclude);
} }
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!