Sha256: c7836781593b50f1bab37aff284337a534dbd547fe753c42eda9182f76e0c1f3
Contents?: true
Size: 547 Bytes
Versions: 43
Compression:
Stored size: 547 Bytes
Contents
decko.addEditor( '.date-editor', -> decko.initDatepicker($(this)) -> @val() ) $.extend decko, setDatepickerConfig: (string) -> setter = -> try $.parseJSON string catch {} decko.datepickerConfig = setter() configDatepicker: () -> conf = { format: "YY-MM-DD" } hard_conf = {} user_conf = if decko.datepickerConfig? then decko.datepickerConfig else {} $.extend conf, user_conf, hard_conf conf initDatepicker: (input) -> input.datetimepicker(decko.configDatepicker())
Version data entries
43 entries across 43 versions & 2 rubygems