diff options
| author | Misko Hevery | 2010-05-13 13:57:39 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-05-13 13:57:39 -0700 |
| commit | 22d1464d7abc284dd56d6beaf47e8d85088e01c5 (patch) | |
| tree | 41c2702dc7505c30aa87edc87f17b8a50a77aaa8 /src/Scope.js | |
| parent | 0a288d1db368ae0754482ad06fe2a78ce6a9de85 (diff) | |
| download | angular.js-22d1464d7abc284dd56d6beaf47e8d85088e01c5.tar.bz2 | |
fixed issue with radio view clobering model if radio was checked.
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 687d3628..7bcf7380 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -97,7 +97,7 @@ function createScope(parent, services, existing) { $set: bind(instance, setter, instance), $eval: function $eval(exp) { - if (exp) { + if (exp !== undefined) { return expressionCompile(exp).apply(instance, slice.call(arguments, 1, arguments.length)); } else { foreach(evalLists.sorted, function(list) { |
