jsuites 4.11.4 → 4.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@
17
17
 
18
18
  var jSuites = function(options) {
19
19
  var obj = {}
20
- var version = '4.11.4';
20
+ var version = '4.11.5';
21
21
 
22
22
  var find = function(DOMElement, component) {
23
23
  if (DOMElement[component.type] && DOMElement[component.type] == component) {
package/dist/jsuites.js CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  var jSuites = function(options) {
19
19
  var obj = {}
20
- var version = '4.11.4';
20
+ var version = '4.11.5';
21
21
 
22
22
  var find = function(DOMElement, component) {
23
23
  if (DOMElement[component.type] && DOMElement[component.type] == component) {
@@ -8614,9 +8614,14 @@ jSuites.mask = (function() {
8614
8614
  }
8615
8615
 
8616
8616
  var o = obj(v, options, true);
8617
- var value = getDate.call(o);
8618
- var t = jSuites.calendar.now(o.date);
8619
- value = jSuites.calendar.dateToNum(t);
8617
+
8618
+ if (jSuites.isNumeric(v)) {
8619
+ value = v;
8620
+ } else {
8621
+ var value = getDate.call(o);
8622
+ var t = jSuites.calendar.now(o.date);
8623
+ value = jSuites.calendar.dateToNum(t);
8624
+ }
8620
8625
  } else {
8621
8626
  var value = Extract.call(options, v);
8622
8627
  // Percentage
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "javascript plugins"
20
20
  ],
21
21
  "main": "dist/jsuites.js",
22
- "version": "4.11.4",
22
+ "version": "4.11.5",
23
23
  "bugs": "https://github.com/jsuites/jsuites/issues",
24
24
  "homepage": "https://github.com/jsuites/jsuites",
25
25
  "docs": "https://jsuites.net",