diff options
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Scope.js b/src/Scope.js index fe0b6ce3..70869b3b 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -60,11 +60,12 @@ function expressionCompile(exp){  // TODO(remove this hack)  function parserNewScopeAdapter(fn) {    return function(){ +    var self = this;      return fn({ -      state: this, +      state: self,        scope: { -        set: this.$set, -        get: this.$get +        set: function(key, value){ return setter(self, key, value);}, +        get: function(key) { return getter(self, key); }        }      });    };  | 
