diff options
| author | Misko Hevery | 2010-03-23 14:57:11 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-03-23 14:57:11 -0700 | 
| commit | bb98ae14f2aef74efbd8345e93f62ac67f460f7f (patch) | |
| tree | b50ac4417c7b1bda996dd569069d7eb834eef2ff /src/Scope.js | |
| parent | 6ff550cfa9524bbb124d10caf1fc13c911ab3b4b (diff) | |
| download | angular.js-bb98ae14f2aef74efbd8345e93f62ac67f460f7f.tar.bz2 | |
markup now wroks, some refactorings
Diffstat (limited to 'src/Scope.js')
| -rw-r--r-- | src/Scope.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/Scope.js b/src/Scope.js index a3e128b6..daafabb0 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -116,7 +116,7 @@ Scope.prototype = {    },    compile: function(exp) { -    if (isFunction(exp)) return exp; +    if (isFunction(exp)) return bind(this.state, exp);      var expFn = Scope.expressionCache[exp], self = this;      if (!expFn) {        var parser = new Parser(exp); | 
