inter-mediator-plugin-jquerydatepicker
Advanced tools
Comparing version 1.0.1 to 1.0.2
25
index.js
@@ -9,2 +9,9 @@ /* | ||
* https://github.com/INTER-Mediator/INTER-Mediator/blob/master/dist-docs/License.txt | ||
* | ||
* This plugin requres the following libraries, they can include with CDN services. | ||
* The sample file "jquery_datepicker_MySQL.html" of INTER-Mediator loacated | ||
* "INTER-Mediator/samples/Sample_webpage/" includes the loading code ot them. | ||
* | ||
* JQuery (https://jquery.com/) | ||
* jQuery UI (https://api.jqueryui.com/) | ||
*/ | ||
@@ -38,13 +45,19 @@ | ||
ids: [], | ||
dateFormat: "yy-mm-dd", | ||
finish: function () { | ||
for (var i = 0; i < this.ids.length; i++) { | ||
var targetId = this.ids[i]; | ||
for (var i = 0; i < IMParts_Catalog.jquery_datepicker.ids.length; i++) { | ||
var targetId = IMParts_Catalog.jquery_datepicker.ids[i]; | ||
var targetNode = $('#' + targetId); | ||
if (targetNode) { | ||
targetNode.datepicker({ | ||
onSelect: function (dateText) { | ||
this.value = dateText; | ||
IMLibUI.valueChange(this.id); | ||
} | ||
dateFormat: IMParts_Catalog.jquery_datepicker.dateFormat, | ||
onSelect: (function () { | ||
var thisId = targetId; | ||
var thidNode = targetNode; | ||
return function (dateText) { | ||
thidNode.value = dateText; | ||
IMLibUI.valueChange(thisId); | ||
} | ||
})() | ||
}); | ||
@@ -51,0 +64,0 @@ } |
{ | ||
"name": "inter-mediator-plugin-jquerydatepicker", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "INTER-Mediator plug-in to use the jQuery DatePicker component.", | ||
@@ -19,5 +19,2 @@ "main": "index.js", | ||
"dependencies": { | ||
"jquery": "*", | ||
"jquery-ui": "*", | ||
"jquery-fileuploader": "*" | ||
}, | ||
@@ -24,0 +21,0 @@ "author": "Masayuki Nii", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 3 instances in 1 package
4174
0
61
1
- Removedjquery@*
- Removedjquery-fileuploader@*
- Removedjquery-ui@*
- Removedjquery@3.7.1(transitive)
- Removedjquery-fileuploader@1.1.2(transitive)
- Removedjquery-ui@1.14.1(transitive)