diff options
| author | Misko Hevery | 2010-05-30 15:45:33 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-05-30 15:45:33 -0700 |
| commit | 0e88e35e5c76420c48a487718558d33e452ea1eb (patch) | |
| tree | 5cd96c2922f35bdf574e60de0836b7e44ea4eeb8 /src/apis.js | |
| parent | fa0702bad1714965c1f236fb195b8a4f7ce7bbc6 (diff) | |
| download | angular.js-0e88e35e5c76420c48a487718558d33e452ea1eb.tar.bz2 | |
remove the uneeded call to createScope when evaluating expressions
Diffstat (limited to 'src/apis.js')
| -rw-r--r-- | src/apis.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apis.js b/src/apis.js index 5864ad60..166ca27c 100644 --- a/src/apis.js +++ b/src/apis.js @@ -297,7 +297,7 @@ var angularFunction = { return expression; } else if (expression){ return function($) { - return createScope($).$eval(expression); + return expressionCompile(expression).apply($); }; } else { return identity; |
