aboutsummaryrefslogtreecommitdiffstats
path: root/src/Scope.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Scope.js')
-rw-r--r--src/Scope.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/Scope.js b/src/Scope.js
index 70869b3b..ac07c7a4 100644
--- a/src/Scope.js
+++ b/src/Scope.js
@@ -60,14 +60,7 @@ function expressionCompile(exp){
// TODO(remove this hack)
function parserNewScopeAdapter(fn) {
return function(){
- var self = this;
- return fn({
- state: self,
- scope: {
- set: function(key, value){ return setter(self, key, value);},
- get: function(key) { return getter(self, key); }
- }
- });
+ return fn(this);
};
}