1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Improved default-value

This commit is contained in:
Tim Düsterhus 2011-12-19 17:40:29 +01:00
parent 2d8724854b
commit 97cf2a2dcb

View File

@ -7,8 +7,7 @@
# @package jQuery.jCounter
###
(($) ->
$.fn.jCounter = (max, options) ->
max ?= 140
$.fn.jCounter = (max = 140, options) ->
options = $.extend
container: '<span></span>'
counterClass: 'counter'