From 77bf746df91d6ebe8be057533b0146d77f254125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 27 Dec 2011 11:51:43 +0100 Subject: [PATCH] Converting raw-js to coffeescript --- file/js/jCounter.jQuery.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/js/jCounter.jQuery.coffee b/file/js/jCounter.jQuery.coffee index 591d8d6..2fc5418 100644 --- a/file/js/jCounter.jQuery.coffee +++ b/file/js/jCounter.jQuery.coffee @@ -22,7 +22,7 @@ this.wrap('
').parent().append('
' + max + '
'); jCounterContainer = $(this).parent().children('.' + options.counterClass) else - if `typeof container == "object"` + if typeof container is 'object' jCounterContainer = container else jCounterContainer = $ container