An error would not be thrown in case of bad dimensions in Image.merge

'is not' -> 'isnt' because that was probably meant (see jashkenas/coffee-script#1755 ). Also, the condition was bad