mirror of https://gitgud.io/fatchan/gm
Forgot to replace undefined variable Removed extra space and added test Swapped monochrome.png with original.png, it doesn't exist before running tests Use Array.isArray() instead of instanceof Array Update morph-more.js Removed todo commentmaster
parent
d68d50ed0d
commit
03d1f4a60d
2 changed files with 22 additions and 1 deletions
@ -0,0 +1,14 @@ |
||||
var assert = require('assert') |
||||
|
||||
module.exports = function (gm, dir, finish, GM) { |
||||
|
||||
if (gm._options.imageMagick) return finish(); |
||||
|
||||
if (!GM.integration) |
||||
return finish(); |
||||
|
||||
gm |
||||
.morph([dir + '/morpher.jpg', dir + '/original.png'], dir + '/morphed2.jpg', function morph (err) { |
||||
finish(err); |
||||
}); |
||||
} |
Loading…
Reference in new issue