resemblejs
Advanced tools
Comparing version 2.2.3 to 2.2.4
{ | ||
"name": "resemblejs", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "Image analysis and comparison with HTML5", | ||
@@ -5,0 +5,0 @@ "main": "resemble.js", |
@@ -16,3 +16,3 @@ Resemble.js | ||
Retrieve basic analysis on image. | ||
Retrieve basic analysis on an image: | ||
@@ -33,3 +33,3 @@ ```javascript | ||
Use resemble to compare two images. | ||
Use resemble to compare two images: | ||
@@ -56,3 +56,3 @@ ```javascript | ||
You can also change the comparison method after the first analysis. | ||
You can also change the comparison method after the first analysis: | ||
@@ -66,3 +66,3 @@ ```javascript | ||
And change the output display style. | ||
And change the output display style: | ||
@@ -86,3 +86,3 @@ ```javascript | ||
You can switch this modify this behaviour by setting the `largeImageThreshold` option to a different value. Set it to **0** to switch it off completely. | ||
You can modify this behaviour by setting the `largeImageThreshold` option to a different value. Set it to **0** to switch it off completely. | ||
@@ -89,0 +89,0 @@ `useCrossOrigin` is true by default, you might need to set it to false if you're using [Data URIs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs). |
/* | ||
James Cryer / Huddle 2015 | ||
James Cryer / Huddle | ||
URL: https://github.com/Huddle/Resemble.js | ||
@@ -693,2 +693,6 @@ */ | ||
if(options.errorPixel && typeof options.errorPixel === "function") { | ||
errorPixel = options.errorPixel; | ||
} | ||
pixelTransparency = isNaN(Number(options.transparency)) ? pixelTransparency : options.transparency; | ||
@@ -695,0 +699,0 @@ |
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
137517
13
904