css-compare-screenshots
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -113,4 +113,3 @@ // PHANTOMJS SCRIPT | ||
window.callPhantom({ | ||
status: options.STATUS_INLINED_CSS_DONE, | ||
html: document.documentElement.innerHTML | ||
status: options.STATUS_INLINED_CSS_DONE | ||
}); | ||
@@ -136,5 +135,2 @@ }, options.renderDelay); | ||
page.onCallback = function (data) { | ||
if (data.html) { | ||
system.stdout.write(data.html); | ||
} | ||
if (data.status === STATUS_INLINED_CSS_DONE) { | ||
@@ -141,0 +137,0 @@ renderScreenshot('after'); |
{ | ||
"name": "css-compare-screenshots", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Generates comparision screenshots before/after modifying css. Use for regression testing.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -112,4 +112,3 @@ // PHANTOMJS SCRIPT | ||
window.callPhantom({ | ||
status: options.STATUS_INLINED_CSS_DONE, | ||
html: document.documentElement.innerHTML | ||
status: options.STATUS_INLINED_CSS_DONE | ||
}) | ||
@@ -135,5 +134,2 @@ }, options.renderDelay) | ||
page.onCallback = function (data) { | ||
if (data.html) { | ||
system.stdout.write(data.html) | ||
} | ||
if (data.status === STATUS_INLINED_CSS_DONE) { | ||
@@ -140,0 +136,0 @@ renderScreenshot('after') |
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
17357
480