From d3fbc25be21719e76907cacfcb0291788c79adc2 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 28 Feb 2014 16:43:23 -0800 Subject: style: enable jscs requireRightStickedOperators rule --- src/ng/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ng/log.js') 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) { -- cgit v1.2.3