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