Skip to content

Commit bd8e2cd

Browse files
author
Lanny McNie
committed
Update to unit test
1 parent d8dead6 commit bd8e2cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/spec/LoadQueueSpec.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,9 @@ describe("PreloadJS.LoadQueue", function () {
227227
done();
228228
});
229229

230-
this.queue.preferXHR = false;
231-
this.queue.loadFile("http://dev.gskinner.com/createjs/cors/daisy.png");
230+
//this.queue.preferXHR = false;
231+
this.queue._crossOrigin = true;
232+
this.queue.loadFile({src:"http://dev.gskinner.com/createjs/cors/daisy.png", crossOrigin:true});
232233
});
233234

234235
xit("should load a manifest and its children", function (done) {

0 commit comments

Comments
 (0)