Comparing version 0.8.37 to 0.8.38
@@ -212,3 +212,3 @@ | ||
function _hasClass( element, cName ){ | ||
if (!element || !element.className) | ||
if (!element || !element.className || (typeof element.className.match !== 'function')) | ||
return false; | ||
@@ -215,0 +215,0 @@ return !!element.className.match( new RegExp( "(\\s|^)" + cName + "(\\s|$)") ); // ( \\s|^ ) 判断前面是否有空格 (\\s | $ )判断后面是否有空格 两个感叹号为转换为布尔值 以方便做判断 |
@@ -86,3 +86,3 @@ { | ||
"name": "febs", | ||
"version": "0.8.37" | ||
"version": "0.8.38" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2448374