mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Buy bower!
This commit is contained in:
parent
6f86f8c9ca
commit
b7dc5fe1d3
56
bower.json
56
bower.json
@ -1,56 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "datetimepicker",
|
|
||||||
"version": "2.5.4",
|
|
||||||
"main": [
|
|
||||||
"build/jquery.datetimepicker.full.min.js",
|
|
||||||
"jquery.datetimepicker.css"
|
|
||||||
],
|
|
||||||
"ignore": [
|
|
||||||
"**/screen",
|
|
||||||
"**/datetimepicker.jquery.json",
|
|
||||||
"**/*.png",
|
|
||||||
"**/*.txt",
|
|
||||||
"**/*.md",
|
|
||||||
"**/*.html",
|
|
||||||
"**/*.tpl",
|
|
||||||
"**/jquery.js",
|
|
||||||
"bower_components",
|
|
||||||
"node_modules"
|
|
||||||
],
|
|
||||||
"keywords": [
|
|
||||||
"calendar",
|
|
||||||
"date",
|
|
||||||
"time",
|
|
||||||
"form",
|
|
||||||
"datetime",
|
|
||||||
"datepicker",
|
|
||||||
"timepicker",
|
|
||||||
"datetimepicker",
|
|
||||||
"validation",
|
|
||||||
"ui",
|
|
||||||
"scroller",
|
|
||||||
"picker",
|
|
||||||
"i18n",
|
|
||||||
"input",
|
|
||||||
"jquery",
|
|
||||||
"touch"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Chupurnov Valeriy",
|
|
||||||
"email": "chupurnov@gmail.com",
|
|
||||||
"homepage": "http://xdsoft.net/contacts.html"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"dependencies": {
|
|
||||||
"jquery": ">= 1.7.2",
|
|
||||||
"jquery-mousewheel": ">= 3.1.13",
|
|
||||||
"php-date-formatter": ">= 1.3.3"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
|
||||||
"homepage": "http://xdsoft.net/jqplugins/datetimepicker/",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git://github.com:xdan/datetimepicker.git"
|
|
||||||
}
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
@ -1759,7 +1759,7 @@ var datetimepickerFactory = function ($) {
|
|||||||
for (i = 0, j = 0; i < (options.hours12 ? 12 : 24); i += 1) {
|
for (i = 0, j = 0; i < (options.hours12 ? 12 : 24); i += 1) {
|
||||||
for (j = 0; j < 60; j += options.step) {
|
for (j = 0; j < 60; j += options.step) {
|
||||||
h = (i < 10 ? '0' : '') + i;
|
h = (i < 10 ? '0' : '') + i;
|
||||||
m = (j < 10 ? '0' : '') + j;
|
m = (j < 10 ? _xdsoft_datetime.now().getMinutes() : '') + j;
|
||||||
line_time(h, m);
|
line_time(h, m);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1959,7 +1959,7 @@ var datetimepickerFactory = function ($) {
|
|||||||
do {
|
do {
|
||||||
node = node.parentNode;
|
node = node.parentNode;
|
||||||
|
|
||||||
if (callback(node) === false) {
|
if (!node || callback(node) === false) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} while (node.nodeName !== 'HTML');
|
} while (node.nodeName !== 'HTML');
|
||||||
|
10
package.json
10
package.json
@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "jquery-datetimepicker",
|
"name": "jquery-datetimepicker",
|
||||||
"version": "2.5.5",
|
"version": "2.5.7",
|
||||||
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
|
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
|
||||||
"main": "build/jquery.datetimepicker.full.min.js",
|
"main": "build/jquery.datetimepicker.full.min.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"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 node_modules/php-date-formatter/js/php-date-formatter.min.js jquery.datetimepicker.js node_modules/jquery-mousewheel/jquery.mousewheel.js -o build/jquery.datetimepicker.full.js",
|
||||||
"minify": "uglifyjs jquery.datetimepicker.js -c -m -o build/jquery.datetimepicker.min.js && uglifycss jquery.datetimepicker.css > build/jquery.datetimepicker.min.css",
|
"minify": "uglifyjs jquery.datetimepicker.js -c -m -o build/jquery.datetimepicker.min.js && uglifycss jquery.datetimepicker.css > build/jquery.datetimepicker.min.css",
|
||||||
"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 && rm -f build/jquery.datetimepicker.full.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",
|
"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",
|
||||||
"public": "npm version patch --no-git-tag-version && npm run build && npm run github && npm run newversiongit && npm publish ./"
|
"public": "npm version patch --no-git-tag-version && npm run build && npm run github/"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -34,7 +34,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jquery": ">= 1.7.2",
|
"jquery": ">= 1.7.2",
|
||||||
"jquery-mousewheel": ">= 3.1.13",
|
"jquery-mousewheel": ">= 3.1.13",
|
||||||
"php-date-formatter": ">= 1.3.3"
|
"php-date-formatter": "^1.3.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concat": "azer/concat",
|
"concat": "azer/concat",
|
||||||
|
@ -113,7 +113,7 @@ parallel-loop@azer/parallel-loop:
|
|||||||
version "0.0.2"
|
version "0.0.2"
|
||||||
resolved "https://codeload.github.com/azer/parallel-loop/tar.gz/054b0d3fe633483a3a6b94104c8343473208d5fb"
|
resolved "https://codeload.github.com/azer/parallel-loop/tar.gz/054b0d3fe633483a3a6b94104c8343473208d5fb"
|
||||||
|
|
||||||
"php-date-formatter@>= 1.3.3":
|
php-date-formatter@^1.3.4:
|
||||||
version "1.3.4"
|
version "1.3.4"
|
||||||
resolved "https://registry.yarnpkg.com/php-date-formatter/-/php-date-formatter-1.3.4.tgz#09a15ae0766ba0beb1900c27c1ec319ef2e4563e"
|
resolved "https://registry.yarnpkg.com/php-date-formatter/-/php-date-formatter-1.3.4.tgz#09a15ae0766ba0beb1900c27c1ec319ef2e4563e"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user