mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
New version 2.4.9
This commit is contained in:
parent
d7666521eb
commit
a55ee80291
@ -42,6 +42,11 @@
|
|||||||
"homepage": "http://xdsoft.net/contacts.html"
|
"homepage": "http://xdsoft.net/contacts.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"jquery": ">= 1.7.2",
|
||||||
|
"jquery-mousewheel": ">= 3.1.13",
|
||||||
|
"php-date-formatter": ">= 1.3.3"
|
||||||
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "http://xdsoft.net/jqplugins/datetimepicker/",
|
"homepage": "http://xdsoft.net/jqplugins/datetimepicker/",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -87,6 +87,8 @@ window.onerror = function(errorMsg) {
|
|||||||
$.datetimepicker.setLocale('en');
|
$.datetimepicker.setLocale('en');
|
||||||
|
|
||||||
$('#datetimepicker_format').datetimepicker({value:'2015/04/15 05:03', format: $("#datetimepicker_format_value").val()});
|
$('#datetimepicker_format').datetimepicker({value:'2015/04/15 05:03', format: $("#datetimepicker_format_value").val()});
|
||||||
|
console.log($('#datetimepicker_format').datetimepicker('getValue'));
|
||||||
|
|
||||||
$("#datetimepicker_format_change").on("click", function(e){
|
$("#datetimepicker_format_change").on("click", function(e){
|
||||||
$("#datetimepicker_format").data('xdsoft_datetimepicker').setOptions({format: $("#datetimepicker_format_value").val()});
|
$("#datetimepicker_format").data('xdsoft_datetimepicker').setOptions({format: $("#datetimepicker_format_value").val()});
|
||||||
});
|
});
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"concat": "concat-cli -f bower_components/php-date-formatter/js/php-date-formatter.js jquery.datetimepicker.js bower_components/jquery-mousewheel/jquery.mousewheel.js -o build/jquery.datetimepicker.full.js",
|
"concat": "concat-cli -f bower_components/php-date-formatter/js/php-date-formatter.js jquery.datetimepicker.js bower_components/jquery-mousewheel/jquery.mousewheel.js -o build/jquery.datetimepicker.full.js",
|
||||||
"minify": "uglifyjs jquery.datetimepicker.js -c -m -o build/jquery.datetimepicker.min.js",
|
"minify": "uglifyjs jquery.datetimepicker.js -c -m -o build/jquery.datetimepicker.min.js",
|
||||||
"minifyconcat": "uglifyjs build/jquery.datetimepicker.full.js -c -m -o build/jquery.datetimepicker.full.min.js",
|
"minifyconcat": "uglifyjs build/jquery.datetimepicker.full.js -c -m -o build/jquery.datetimepicker.full.min.js",
|
||||||
|
"github": "git add --all && git commit -m \"New version %npm_package_version%\" && git tag %npm_package_version% && git push --tags origin HEAD:master && npm publish",
|
||||||
"build": "npm run minify && npm run concat && npm run minifyconcat"
|
"build": "npm run minify && npm run concat && npm run minifyconcat"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
Reference in New Issue
Block a user