Comparing version 1.0.0 to 1.0.1
Changelog | ||
========= | ||
v1.0.1 - Add missing percentage sign and documentation (12/12/2014) | ||
v1.0.0 - Initial release (11/12/14) |
@@ -155,3 +155,3 @@ var BlinkDiff = require('blink-diff'), | ||
this.message = function () { | ||
return util.format("Image is visibly different by %s pixels, %s", result.differences, percent); | ||
return util.format("Image is visibly different by %s pixels, %s %", result.differences, percent); | ||
}; | ||
@@ -158,0 +158,0 @@ return ((result.code === BlinkDiff.RESULT_IDENTICAL) || (result.code === BlinkDiff.RESULT_SIMILAR)); |
{ | ||
"name": "pix-diff", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Protractor plugin for image comparison", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -6,2 +6,4 @@ Pix-Diff | ||
[![NPM](https://nodei.co/npm/pix-diff.png)](https://nodei.co/npm/pix-diff/) | ||
##Installation | ||
@@ -26,4 +28,2 @@ | ||
```javascript | ||
var PixDiff = require('pix-diff'); | ||
exports.config = { | ||
@@ -33,2 +33,3 @@ // your config here ... | ||
onPrepare: function() { | ||
var PixDiff = require('pix-diff'); | ||
browser.pixdiff = new PixDiff( | ||
@@ -35,0 +36,0 @@ { |
11898
134