aboutsummaryrefslogtreecommitdiffstats
path: root/src/Scope.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-07 14:13:28 -0700
committerMisko Hevery2010-04-07 14:13:28 -0700
commit3c5e0205f947fb1aef0eb1261f7d980600ab5482 (patch)
tree0684b2293f860927696a20c04f15b506faaf9343 /src/Scope.js
parent6ea1ac7b05a4079bcda0356e095703d36ccdf6b3 (diff)
parent29309e0e5a5f5eafd0f948100417d63127d3332d (diff)
downloadangular.js-3c5e0205f947fb1aef0eb1261f7d980600ab5482.tar.bz2
Merge branch 'directives' of github.com:angular/angular.js into directives
Diffstat (limited to 'src/Scope.js')
-rw-r--r--src/Scope.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Scope.js b/src/Scope.js
index b41f7436..0bc551c4 100644
--- a/src/Scope.js
+++ b/src/Scope.js
@@ -17,7 +17,7 @@ function getter(instance, path, unboundFn) {
type = angular[type.charAt(0).toUpperCase()+type.substring(1)];
var fn = type ? type[[key.substring(1)]] : undefined;
if (fn) {
- instance = bind(fn, lastInstance, lastInstance);
+ instance = bind(lastInstance, fn, lastInstance);
return instance;
}
}