Fix package.json. Use jquery.datetimepicker.full.min.js how main file

This commit is contained in:
Chupurnov Valeriy 2016-02-18 18:39:24 +05:00
parent 46640e5a38
commit cb8086ebfc
7 changed files with 15 additions and 15 deletions

View File

@ -1,6 +1,6 @@
{
"name": "datetimepicker",
"version": "2.4.7",
"version": "2.4.8",
"main": [
"build/jquery.datetimepicker.full.js",
"build/jquery.datetimepicker.full.min.js",
@ -36,11 +36,6 @@
"jquery",
"touch"
],
"dependencies": {
"jquery": ">= 1.7.2",
"jquery-mousewheel": ">= 3.1.13",
"php-date-formatter": ">= 1.3.3"
},
"authors": [
{
"name": "Chupurnov Valeriy",

View File

@ -152,7 +152,7 @@ var DateFormatter;
vMeriOffset = _compare(mer, vSettings.meridiem[0]) ? 0 :
(_compare(mer, vSettings.meridiem[1]) ? 12 : -1);
if (iDatePart >= 1 && iDatePart <= 12 && vMeriOffset > -1) {
out.hour = iDatePart + vMeriOffset;
out.hour = iDatePart + vMeriOffset - 1;
} else if (iDatePart >= 0 && iDatePart <= 23) {
out.hour = iDatePart;
}
@ -575,7 +575,7 @@ var DateFormatter;
}
};
})();/**
* @preserve jQuery DateTimePicker plugin v2.4.7
* @preserve jQuery DateTimePicker plugin v2.4.8
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
* @author Chupurnov Valeriy (<chupurnov@gmail.com>)
*/
@ -583,7 +583,7 @@ var DateFormatter;
;(function (factory) {
if ( typeof define === 'function' && define.amd ) {
// AMD. Register as an anonymous module.
define(['jquery', 'jquery-mousewheel', 'date-functions'], factory);
define(['jquery', 'jquery-mousewheel'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS style for Browserify
module.exports = factory;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "datetimepicker",
"version": "2.4.7",
"version": "2.4.8",
"title": "jQuery Date and Time picker",
"description": "jQuery plugin for date, time, or datetime manipulation in form",
"keywords": [

View File

@ -1,5 +1,5 @@
/**
* @preserve jQuery DateTimePicker plugin v2.4.7
* @preserve jQuery DateTimePicker plugin v2.4.8
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
* @author Chupurnov Valeriy (<chupurnov@gmail.com>)
*/
@ -7,7 +7,7 @@
;(function (factory) {
if ( typeof define === 'function' && define.amd ) {
// AMD. Register as an anonymous module.
define(['jquery', 'jquery-mousewheel', 'date-functions'], factory);
define(['jquery', 'jquery-mousewheel'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS style for Browserify
module.exports = factory;

View File

@ -1,6 +1,6 @@
{
"name": "jquery-datetimepicker",
"version": "2.4.7",
"version": "2.4.8",
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
"main": "jquery.datetimepicker.js",
"scripts": {
@ -29,6 +29,11 @@
"url": "https://github.com/xdan/datetimepicker/issues"
},
"homepage": "https://github.com/xdan/datetimepicker",
"dependencies": {
"jquery": ">= 1.7.2",
"jquery-mousewheel": ">= 3.1.13",
"php-date-formatter": ">= 1.3.3"
},
"devDependencies": {
"concat-cli": "^1.0.1",
"uglifyjs": "^2.4.10"