Skip to content

Commit

Permalink
Run CodeMaid
Browse files Browse the repository at this point in the history
  • Loading branch information
joelspadin committed Nov 25, 2014
1 parent e4e6770 commit c4a50f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
18 changes: 0 additions & 18 deletions gm/gm-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,9 @@ gm(src)
.monochrome()
.morph(src, dest)
.morph(src, dest, (err, stdout, stderr, cmd) => {

})
.morph(images, dest)
.morph(images, dest, (err, stdout, stderr, cmd) => {

})
.mosaic()
.motionBlur(radius)
Expand Down Expand Up @@ -260,13 +258,10 @@ gm(src)
.threshold(threshold)
.threshold(threshold, usePercent)
.thumb(width, height, dest, (err, stdout, stderr, cmd) => {

})
.thumb(width, height, dest, quality, (err, stdout, stderr, cmd) => {

})
.thumb(width, height, dest, quality, align, (err, stdout, stderr, cmd) => {

})
.tile(file)
.title(name)
Expand Down Expand Up @@ -294,28 +289,20 @@ gm(src)
.window(name)
.windowGroup()
.color((err, color) => {

})
.depth((err, bitdepth) => {

})
.filesize((err, size) => {

})
.format((err, format) => {

})
.identify((err, info) => {

})
.res((err, resolution) => {

})
.size((err, size) => {

})
.orientation((err, orient) => {

})
.draw(options)
.drawArc(x, y, x, y, radius, radius)
Expand All @@ -342,24 +329,19 @@ gm(src)
.stroke(color, width)
.setDraw(type, x, y, method)
.write(dest, (err, stdout, stderr, cmd) => {

});

gm.compare(file, file, (err, isEqual, equality, raw) => {

});

readStream = gm(src).stream();
readStream = gm(src).stream(format);
readStream = gm(src).stream(format, (err, stdout, stderr, cmd) => {

});

gm(src).toBuffer((err, buffer) => {

});
gm(src).toBuffer(format, (err, buffer) => {

});

var imageMagick = gm.subClass({ imageMagick: true });
Expand Down
6 changes: 3 additions & 3 deletions gm/gm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,9 @@ declare module "gm" {
(image: string): State;
}

export function compare(filename1: string, filename2: string, callback: CompareCallback): void ;
export function compare(filename1: string, filename2: string, tolerance: number, callback: CompareCallback): void ;
export function compare(filename1: string, filename2: string, options: CompareOptions, callback: CompareCallback): void ;
export function compare(filename1: string, filename2: string, callback: CompareCallback): void;
export function compare(filename1: string, filename2: string, tolerance: number, callback: CompareCallback): void;
export function compare(filename1: string, filename2: string, options: CompareOptions, callback: CompareCallback): void;

export function subClass(options: ClassOptions): SubClass;
}
Expand Down

0 comments on commit c4a50f1

Please sign in to comment.