From 30442946cf43ad22cfac499f04e154be5889ef2d Mon Sep 17 00:00:00 2001 From: Justin SB Date: Fri, 19 Sep 2014 18:42:06 -0700 Subject: [PATCH] Set warning as an alias for warn on Console.prototype, not on the singleton --- tools/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/console.js b/tools/console.js index 21dab21e17..be003f5621 100644 --- a/tools/console.js +++ b/tools/console.js @@ -319,6 +319,6 @@ _.extend(Console.prototype, { }); -Console.warning = Console.warn; +Console.prototype.warning = Console.prototype.warn; exports.Console = new Console; \ No newline at end of file