aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng')
-rw-r--r--src/ng/directive/select.js2
-rw-r--r--src/ng/log.js2
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) {