resemblejs
Advanced tools
Comparing version 1.3.1 to 2.0.1
{ | ||
"name": "resemblejs", | ||
"version": "1.3.1", | ||
"version": "2.0.1", | ||
"description": "Image analysis and comparison with HTML5", | ||
@@ -5,0 +5,0 @@ "main": "resemble.js", |
/* | ||
James Cryer / Huddle 2014 | ||
James Cryer / Huddle 2015 | ||
URL: https://github.com/Huddle/Resemble.js | ||
@@ -170,3 +170,3 @@ */ | ||
hiddenImage.src = fileData; | ||
if (hiddenImage.complete) { | ||
if (hiddenImage.complete && hiddenImage.naturalWidth > 0) { | ||
hiddenImage.onload(); | ||
@@ -403,3 +403,3 @@ } | ||
diffBounds.bottom = Math.max(y, diffBounds.bottom); | ||
} | ||
}; | ||
@@ -406,0 +406,0 @@ var time = Date.now(); |
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
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
34695
0