diff options
| author | Vojta Jina | 2013-10-22 14:41:21 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2013-10-22 15:32:41 -0700 | 
| commit | f2fab498303e00d199cb3d19a008670e214d5c10 (patch) | |
| tree | 3aa88fdb1f63bbed45c7541232a0fdfac226c126 /src/ng/directive/ngBind.js | |
| parent | 934a95d3ef3f72dfc37b0b564624cb4a1286d4f4 (diff) | |
| download | angular.js-f2fab498303e00d199cb3d19a008670e214d5c10.tar.bz2 | |
style: make jshint happy
Diffstat (limited to 'src/ng/directive/ngBind.js')
| -rw-r--r-- | src/ng/directive/ngBind.js | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/ng/directive/ngBind.js b/src/ng/directive/ngBind.js index c55ab076..82ff505a 100644 --- a/src/ng/directive/ngBind.js +++ b/src/ng/directive/ngBind.js @@ -50,6 +50,9 @@  var ngBindDirective = ngDirective(function(scope, element, attr) {    element.addClass('ng-binding').data('$binding', attr.ngBind);    scope.$watch(attr.ngBind, function ngBindWatchAction(value) { +    // We are purposefully using == here rather than === because we want to +    // catch when value is "null or undefined" +    // jshint -W041      element.text(value == undefined ? '' : value);    });  }); @@ -111,7 +114,7 @@ var ngBindTemplateDirective = ['$interpolate', function($interpolate) {      attr.$observe('ngBindTemplate', function(value) {        element.text(value);      }); -  } +  };  }]; | 
