diff options
| author | Misko Hevery | 2010-05-30 16:45:35 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-05-30 16:45:35 -0700 |
| commit | ad18fe144263b966f8930edb672e08b9926e00a1 (patch) | |
| tree | cd46078c014463ab84323f2f9da7c7a59fc7b9a2 /src/apis.js | |
| parent | c7d64f6d124f10c66309042c2d77896215ed43b8 (diff) | |
| download | angular.js-ad18fe144263b966f8930edb672e08b9926e00a1.tar.bz2 | |
compiler exposos both self and this function calling convention
Diffstat (limited to 'src/apis.js')
| -rw-r--r-- | src/apis.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/apis.js b/src/apis.js index fda28346..1acc143b 100644 --- a/src/apis.js +++ b/src/apis.js @@ -296,10 +296,7 @@ var angularFunction = { if (isFunction(expression)){ return expression; } else if (expression){ - var fn = expressionCompile(expression); - return function($) { - return fn.apply($); - }; + return expressionCompile(expression).fnSelf; } else { return identity; } |
