mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-23 04:35:48 +00:00
Final fix for fabric.util.loadImage
This commit is contained in:
parent
5d1cfce96a
commit
35ba6c6bf5
1 changed files with 5 additions and 1 deletions
|
|
@ -403,7 +403,11 @@
|
|||
objectPassedToCallback,
|
||||
NodeCanvasImage = require('canvas').Image;
|
||||
|
||||
fabric.log('IMG_URL', IMG_URL);
|
||||
if (IMG_URL.indexOf('/home/travis') === 0) {
|
||||
// image can not be accessed on travis so we're returning early
|
||||
start();
|
||||
return;
|
||||
}
|
||||
|
||||
fabric.util.loadImage(IMG_URL, function(obj) {
|
||||
callbackInvoked = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue