File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ function useColors() {
5151 ( typeof window !== 'undefined' && window . console && ( console . firebug || ( console . exception && console . table ) ) ) ||
5252 // is firefox >= v31?
5353 // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
54- ( navigator . userAgent && navigator . userAgent . toLowerCase ( ) . match ( / f i r e f o x \/ ( \d + ) / ) && parseInt ( RegExp . $1 , 10 ) >= 31 ) ||
54+ ( navigator && navigator . userAgent && navigator . userAgent . toLowerCase ( ) . match ( / f i r e f o x \/ ( \d + ) / ) && parseInt ( RegExp . $1 , 10 ) >= 31 ) ||
5555 // double check webkit in userAgent just in case we are in a worker
56- ( navigator . userAgent && navigator . userAgent . toLowerCase ( ) . match ( / a p p l e w e b k i t \/ ( \d + ) / ) ) ;
56+ ( navigator && navigator . userAgent && navigator . userAgent . toLowerCase ( ) . match ( / a p p l e w e b k i t \/ ( \d + ) / ) ) ;
5757}
5858
5959/**
You can’t perform that action at this time.
0 commit comments