diff options
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Scope.js b/src/Scope.js index 09779453..203507a3 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -243,7 +243,6 @@ function createScope(parent, providers, instanceCache) { parent = Parent.prototype = (parent || {}); var instance = new Parent(); var evalLists = {sorted:[]}; - var postList = [], postHash = {}, postId = 0; extend(instance, { 'this': instance, @@ -371,11 +370,6 @@ function createScope(parent, providers, instanceCache) { instance.$tryEval(queue[j].fn, queue[j].handler); } } - while(postList.length) { - fn = postList.shift(); - delete postHash[fn.$postEvalId]; - instance.$tryEval(fn); - } } else if (type === $function) { return exp.call(instance); } else if (type === 'string') { @@ -552,27 +546,6 @@ function createScope(parent, providers, instanceCache) { /** * @workInProgress * @ngdoc function - * @name angular.scope.$postEval - * @function - */ - $postEval: function(expr) { - if (expr) { - var fn = expressionCompile(expr); - var id = fn.$postEvalId; - if (!id) { - id = '$' + instance.$id + "_" + (postId++); - fn.$postEvalId = id; - } - if (!postHash[id]) { - postList.push(postHash[id] = fn); - } - } - }, - - - /** - * @workInProgress - * @ngdoc function * @name angular.scope.$become * @function * @deprecated This method will be removed before 1.0 |
