From 5905005929e1cb856166326b06c5bbcc9813d623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 15 Jan 2012 14:09:07 +0100 Subject: [PATCH] Ensure window and undefined as well --- file/js/TimWolla.WCF.Chat.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file/js/TimWolla.WCF.Chat.coffee b/file/js/TimWolla.WCF.Chat.coffee index 5e61362..5abbfa2 100644 --- a/file/js/TimWolla.WCF.Chat.coffee +++ b/file/js/TimWolla.WCF.Chat.coffee @@ -10,7 +10,7 @@ TimWolla ?= {} TimWolla.WCF ?= {} -(($) -> +(($, window, undefined) -> TimWolla.WCF.Chat = titleTemplate: null title: document.title @@ -335,4 +335,4 @@ TimWolla.WCF ?= {} else li.addClass 'activeMenuItem' li.find('.chatUserMenu').wcfBlindIn 'vertical' -)(jQuery) +)(jQuery, this)