diff options
| -rw-r--r-- | .jscs.json | 3 | ||||
| -rw-r--r-- | .jscs.json.todo | 1 | ||||
| -rw-r--r-- | src/ng/directive/select.js | 2 | ||||
| -rw-r--r-- | src/ng/log.js | 2 | 
4 files changed, 4 insertions, 4 deletions
| @@ -1,4 +1,5 @@  {    "disallowKeywords": ["with"], -  "disallowTrailingWhitespace": true +  "disallowTrailingWhitespace": true, +  "requireRightStickedOperators": ["!"]  } diff --git a/.jscs.json.todo b/.jscs.json.todo index b7e82bc2..96326dce 100644 --- a/.jscs.json.todo +++ b/.jscs.json.todo @@ -8,7 +8,6 @@    "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],    "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],    "disallowRightStickedOperators": ["?", "+", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], -  "requireRightStickedOperators": ["!"],    "requireLeftStickedOperators": [","],    "disallowImplicitTypeConversion": ["string"],    "disallowMultipleLineBreaks": true, 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) { | 
