From d451c6b118c55f2ff16f21e2d68b2d376399a546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 19 Jun 2012 16:23:18 +0200 Subject: [PATCH] Rename windowConsole to _console --- file/js/be.bastelstu.WCF.Chat.coffee | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/file/js/be.bastelstu.WCF.Chat.coffee b/file/js/be.bastelstu.WCF.Chat.coffee index e4b802e..d24d8e9 100644 --- a/file/js/be.bastelstu.WCF.Chat.coffee +++ b/file/js/be.bastelstu.WCF.Chat.coffee @@ -11,18 +11,19 @@ window.console ?= log: () ->, warn: () ->, error: () -> -(($, window, windowConsole) -> + +(($, window, _console) -> window.be ?= {} be.bastelstu ?= {} be.bastelstu.WCF ?= {} console = log: (message) -> - windowConsole.log '[be.bastelstu.WCF.Chat] '+message + _console.log '[be.bastelstu.WCF.Chat] '+message warn: (message) -> - windowConsole.warn '[be.bastelstu.WCF.Chat] '+message + _console.warn '[be.bastelstu.WCF.Chat] '+message error: (message) -> - windowConsole.error '[be.bastelstu.WCF.Chat] '+message + _console.error '[be.bastelstu.WCF.Chat] '+message be.bastelstu.WCF.Chat =