Merge master, Rename this_ and ui: 'none'

This commit is contained in:
Chinmay Pandhare
2017-07-25 00:59:58 +05:30
13 changed files with 52 additions and 49 deletions

View File

@@ -11,13 +11,13 @@ module.exports = function DoNothingPix(options,UI) {
function draw(input,callback) {
UI.onDraw();
var this_ = this;
const step = this;
function changePixel(r, g, b, a) {
return [r, g, b, a];
}
function output(image,datauri,mimetype){
this_.output = {src:datauri,format:mimetype}
step.output = {src:datauri,format:mimetype}
UI.onComplete(datauri);
}
return require('../_nomodule/PixelManipulation.js')(input, {