Browse Source

Update resemble.js

pull/128/head
Essem 7 years ago committed by GitHub
parent
commit
debfa1f07c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      resemble.js

2
resemble.js

@ -808,12 +808,12 @@ URL: https://github.com/Huddle/Resemble.js
function applyIgnore(api, ignore) {
switch (ignore) {
default: throw new Error('Invalid ignore: ' + ignore);
case 'nothing': api.ignoreNothing();
case 'less': api.ignoreLess();
case 'antialiasing': api.ignoreAntialiasing();
case 'colors': api.ignoreColors();
case 'alpha': api.ignoreAlpha();
default: throw new Error('Invalid ignore: ' + ignore);
}
}

Loading…
Cancel
Save