diff options
| author | Misko Hevery | 2010-05-30 16:34:59 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-05-30 16:34:59 -0700 | 
| commit | c7d64f6d124f10c66309042c2d77896215ed43b8 (patch) | |
| tree | b8127077d89d377dca17e70bba311f691424d5d1 /src/Scope.js | |
| parent | 0d87208553af7a9ad6c6c1c73bd3a4105062eafa (diff) | |
| download | angular.js-c7d64f6d124f10c66309042c2d77896215ed43b8.tar.bz2 | |
improve error handling with elements
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 8 | 
1 files changed, 1 insertions, 7 deletions
| diff --git a/src/Scope.js b/src/Scope.js index ac07c7a4..6d68eeed 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -53,14 +53,8 @@ function expressionCompile(exp){      parser.assertAllConsumed();      compileCache[exp] = expFn;    } -  return parserNewScopeAdapter(expFn); -} - -// return expFn -// TODO(remove this hack) -function parserNewScopeAdapter(fn) {    return function(){ -    return fn(this); +    return expFn(this);    };  } | 
