There was an error while loading. Please reload this page.
2 parents 58b323e + 95465cb commit 0148605Copy full SHA for 0148605
lib/ImageCache.js
@@ -10,6 +10,7 @@ function Img (src) {
10
this._img = new Image();
11
this._img.onload = this.emit.bind(this, 'load');
12
this._img.onerror = this.emit.bind(this, 'error');
13
+ this._img.crossOrigin = true;
14
this._img.src = src;
15
16
// The default impl of events emitter will throw on any 'error' event unless
0 commit comments