aboutsummaryrefslogtreecommitdiffstats
path: root/src/Scope.js
diff options
context:
space:
mode:
authorMisko Hevery2010-03-25 13:01:08 -0700
committerMisko Hevery2010-03-25 13:01:08 -0700
commitb814c79b58deeeeaa12b03261399ef80c0d6cc9f (patch)
treebf28a86070d6c598161bdc9f8937fda51ec5049a /src/Scope.js
parentf29f6a47c4d81c5b8e365a3dae307159f1b12968 (diff)
downloadangular.js-b814c79b58deeeeaa12b03261399ef80c0d6cc9f.tar.bz2
checkbox and radio now working
Diffstat (limited to 'src/Scope.js')
-rw-r--r--src/Scope.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Scope.js b/src/Scope.js
index daafabb0..5f1cfdda 100644
--- a/src/Scope.js
+++ b/src/Scope.js
@@ -12,8 +12,10 @@ function Scope(initialState, name) {
'$parent': initialState,
'$watch': bind(self, self.addWatchListener),
'$eval': bind(self, self.eval),
- // change name to onEval?
- '$addEval': bind(self, self.addEval)
+ '$bind': bind(self, bind, self),
+ // change name to autoEval?
+ '$addEval': bind(self, self.addEval),
+ '$updateView': bind(self, self.updateView)
});
if (name == "ROOT") {
self.state['$root'] = self.state;