diff options
Diffstat (limited to 'test/CompilerSpec.js')
| -rw-r--r-- | test/CompilerSpec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CompilerSpec.js b/test/CompilerSpec.js index 780fd7cb..fa63ab77 100644 --- a/test/CompilerSpec.js +++ b/test/CompilerSpec.js @@ -14,7 +14,8 @@ describe('compiler', function(){ watch: function(expression, element){ return function() { this.$watch(expression, function(val){ - log += ":" + val; + if (val) + log += ":" + val; }); }; } |
