Comparing version 0.9.1 to 0.9.2
@@ -17,3 +17,3 @@ // jshint esversion: 6, globalstrict: true, strict: true, bitwise: false | ||
this.setRegions(this._parseOptions('regions', options));//can be no regions or a single region or multiple regions. if no regions, all pixels will be compared. | ||
this._setCallback(callback);//callback function to be called when pixel difference is detected | ||
this.setCallback(callback);//callback function to be called when pixel difference is detected | ||
this._parseChunk = this._parseFirstChunk;//first parsing will be reading settings and configuring internal pixel reading | ||
@@ -92,3 +92,3 @@ } | ||
PamDiff.prototype._setCallback = function (callback) { | ||
PamDiff.prototype.setCallback = function (callback) { | ||
if (typeof callback === 'function') { | ||
@@ -95,0 +95,0 @@ this._callback = callback; |
{ | ||
"name": "pam-diff", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Measure differences between pixel arrays extracted from pam images", | ||
@@ -5,0 +5,0 @@ "main": "index.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
22350