From 5196bfdf0475d6d18caca6d5491d7bc48aaa6949 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Wed, 17 Dec 2014 14:22:49 -0800 Subject: [PATCH] Fix console check. --- libs/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/console.js b/libs/console.js index 94ace33a..a4675878 100644 --- a/libs/console.js +++ b/libs/console.js @@ -44,7 +44,7 @@ } this.levelName = levelName; - this.ctx = typeof $ !== "undefined" ? $.ctx : null; + this.ctx = $ ? $.ctx : null; this.logLevel = LOG_LEVELS[levelName]; this.args = args; this.time = performance.now() - startTime;