font-face-extract
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -82,3 +82,3 @@ class getPagesFontFaceText{ | ||
//剔除页面中同一个字体共用的文字 | ||
//剔除页面中同一个字体共用的文字,如果字符为空的则整个删除。 | ||
for(let i in result.data.result){ | ||
@@ -93,4 +93,8 @@ let text = result.data.result[i], | ||
}); | ||
result.data.result[i] = string; | ||
if(string !== ''){ | ||
result.data.result[i] = string; | ||
}else{ | ||
delete result.data.result[i]; | ||
}; | ||
}; | ||
@@ -97,0 +101,0 @@ |
{ | ||
"name": "font-face-extract", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "html font-face text extraction", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
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
19400
379