Buy bower!

This commit is contained in:
Chupurnov Valeriy 2017-10-12 14:22:05 +05:00
parent 6f86f8c9ca
commit b7dc5fe1d3
5 changed files with 8 additions and 3322 deletions

View File

@ -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

View File

@ -1759,7 +1759,7 @@ var datetimepickerFactory = function ($) {
for (i = 0, j = 0; i < (options.hours12 ? 12 : 24); i += 1) {
for (j = 0; j < 60; j += options.step) {
h = (i < 10 ? '0' : '') + i;
m = (j < 10 ? '0' : '') + j;
m = (j < 10 ? _xdsoft_datetime.now().getMinutes() : '') + j;
line_time(h, m);
}
}
@ -1959,7 +1959,7 @@ var datetimepickerFactory = function ($) {
do {
node = node.parentNode;
if (callback(node) === false) {
if (!node || callback(node) === false) {
break;
}
} while (node.nodeName !== 'HTML');

View File

@ -1,16 +1,16 @@
{
"name": "jquery-datetimepicker",
"version": "2.5.5",
"version": "2.5.7",
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
"main": "build/jquery.datetimepicker.full.min.js",
"scripts": {
"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",
"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",
"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": {
"type": "git",
@ -34,7 +34,7 @@
"dependencies": {
"jquery": ">= 1.7.2",
"jquery-mousewheel": ">= 3.1.13",
"php-date-formatter": ">= 1.3.3"
"php-date-formatter": "^1.3.4"
},
"devDependencies": {
"concat": "azer/concat",

View File

@ -113,7 +113,7 @@ parallel-loop@azer/parallel-loop:
version "0.0.2"
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"
resolved "https://registry.yarnpkg.com/php-date-formatter/-/php-date-formatter-1.3.4.tgz#09a15ae0766ba0beb1900c27c1ec319ef2e4563e"