Comparing version 0.8.70 to 0.8.71
@@ -15,3 +15,3 @@ 'use strict'; | ||
exports.isValidate = function (date/*:Date*/)/*:boolean*/ { | ||
if (!date || date.toString() == 'Invalid Date') | ||
if (isNaN(date) || !date || date.toString() == 'Invalid Date') | ||
return false; | ||
@@ -18,0 +18,0 @@ return date instanceof Date; |
@@ -1123,5 +1123,12 @@ | ||
for (j = 0; j < nodes.length; j++) { | ||
if (nodes[j].isSameNode(elem.parentNode)) { | ||
break; | ||
if (typeof nodes[j].isSameNode === 'function') { | ||
if (nodes[j].isSameNode(elem.parentNode)) { | ||
break; | ||
} | ||
} | ||
else { | ||
if (nodes[j] === elem.parentNode) { | ||
break; | ||
} | ||
} | ||
} | ||
@@ -1353,4 +1360,10 @@ if (j >= nodes.length) | ||
for (var i = 0; i < _thisLength; i++) { | ||
if (this.get(i).isSameNode(node)) | ||
return true; | ||
if (typeof this.get(i).isSameNode === 'function') { | ||
if (this.get(i).isSameNode(node)) | ||
return true; | ||
} | ||
else { | ||
if (this.get(i) === node) | ||
return true; | ||
} | ||
} | ||
@@ -1357,0 +1370,0 @@ |
@@ -13,3 +13,5 @@ /** | ||
var Ajaxmark = Symbol('ajaxmark'); | ||
// var Ajaxmark = Symbol('ajaxmark'); | ||
var Ajaxmark = '_FeBs_ajaxmark'; | ||
var net = {}; | ||
@@ -16,0 +18,0 @@ |
@@ -7,4 +7,6 @@ febs 库是一些常用的工具的合集; | ||
> 兼容ie9及以上浏览器 | ||
> 兼容ie8及以上浏览器 | ||
> ie8中使用 `febs.ie8.js` 文件. | ||
febs按功能分为如下的js包. | ||
@@ -11,0 +13,0 @@ |
@@ -88,3 +88,3 @@ { | ||
"name": "febs", | ||
"version": "0.8.70" | ||
"version": "0.8.71" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3025849
63
32817