Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Bugfix for "comparison" and "blinkDiff" parameter - both can be used now
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Erz committed Dec 11, 2014
1 parent 52194be commit 2e742fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGE_LOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog
=========

v0.9.4
* Bugfix for "comparison" and "blinkDiff" parameter - both can be used now

v0.9.3 - 11/05/14
* Use "comparison" for comparison options instead of "blinkDiff". "blinkDiff" is deprecated.
* Added global config
Expand Down
2 changes: 1 addition & 1 deletion lib/kobold.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var Kobold = Base.extend(
this._failForOrphans = options.failForOrphans || false;
this._failOnAdditions = options.failOnAdditions || false;

this._comparison = options.comparison || options.blinkDiff || {};
this._comparison = utils.deepExtend({}, [options.comparison || {}, options.blinkDiff || {}]);

this._source = koboldCore.buildStorageAdapter(this._build, options.source || options.storage);
this._destination = koboldCore.buildStorageAdapter(this._build, options.destination || options.storage);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kobold",
"version": "0.9.3",
"version": "0.9.4",
"description": "Visual regression testing framework, comparing screenshots from multiple builds",
"license": "MIT",
"main": "index.js",
Expand Down

0 comments on commit 2e742fe

Please sign in to comment.