diff options
| author | Igor Minar | 2014-02-28 16:43:23 -0800 |
|---|---|---|
| committer | Igor Minar | 2014-02-28 16:47:21 -0800 |
| commit | d3fbc25be21719e76907cacfcb0291788c79adc2 (patch) | |
| tree | 496a8aac6a44bf61d2d44fd65fdc22b82c80ff76 /src/ng | |
| parent | 0d034a98ec4ef1e0c3c1727e23d1ccd971ae74e6 (diff) | |
| download | angular.js-d3fbc25be21719e76907cacfcb0291788c79adc2.tar.bz2 | |
style: enable jscs requireRightStickedOperators rule
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/directive/select.js | 2 | ||||
| -rw-r--r-- | src/ng/log.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/directive/select.js b/src/ng/directive/select.js index 3846d18a..0b562cca 100644 --- a/src/ng/directive/select.js +++ b/src/ng/directive/select.js @@ -304,7 +304,7 @@ var selectDirective = ['$compile', '$parse', function($compile, $parse) { function setupAsOptions(scope, selectElement, ctrl) { var match; - if (! (match = optionsExp.match(NG_OPTIONS_REGEXP))) { + if (!(match = optionsExp.match(NG_OPTIONS_REGEXP))) { throw ngOptionsMinErr('iexp', "Expected expression in form of " + "'_select_ (as _label_)? for (_key_,)?_value_ in _collection_'" + diff --git a/src/ng/log.js b/src/ng/log.js index f704184a..cf5420ef 100644 --- a/src/ng/log.js +++ b/src/ng/log.js @@ -139,7 +139,7 @@ function $LogProvider(){ // Note: reading logFn.apply throws an error in IE11 in IE8 document mode. // The reason behind this is that console.log has type "object" in IE8... try { - hasApply = !! logFn.apply; + hasApply = !!logFn.apply; } catch (e) {} if (hasApply) { |
