Closed laacz closed 5 years ago
Hi @laacz,
all translation files have the same logic.
https://github.com/amsul/pickadate.js/blob/master/lib/translations/bs_BA.js
Also see https://github.com/amsul/pickadate.js/pull/1041#issuecomment-479599098 and https://github.com/amsul/pickadate.js/pull/744#issuecomment-479598406
@DanielRuf, but what if I do not require pikatime? Then there is no way to make this work witout mandatory import of pickatime?
You can create a empty object using the following:
jQuery.fn.pickatime = {defaults:{}}
OK. Thanks. Is it not going to be fixed then? If so, then please close the issue :)
Development focus is currently on v5 so v3 will not receive any big changes except critical things like the regression in Chrome 73.
When using only pickadate (without pickatime), translation lv_LV.js throws an exception, since it tries to extend non existant object object.
Here:
Removing extend fixes problem.