1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Converting raw-js to coffeescript

This commit is contained in:
Tim Düsterhus 2011-12-27 11:51:43 +01:00
parent e34f1ffdcb
commit 77bf746df9

View File

@ -22,7 +22,7 @@
this.wrap('<div class="counterContainer"><div></div></div>').parent().append('<div class="' + options.counterClass + ' color-1">' + max + '</div>');
jCounterContainer = $(this).parent().children('.' + options.counterClass)
else
if `typeof container == "object"`
if typeof container is 'object'
jCounterContainer = container
else
jCounterContainer = $ container