Skip to content

Commit 9155149

Browse files
committed
Added example multi image load
1 parent 661f9fd commit 9155149

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/loader/filetypes/ImageFile.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ var ImageFile = new Class({
4545
// headerValue: 'text/xml'
4646
// }
4747
// });
48+
// this.load.image([
49+
// {
50+
// key: 'bunny',
51+
// file: 'assets/sprites/bunny.png',
52+
// xhr: {
53+
// user: 'root',
54+
// password: 'th3G1bs0n',
55+
// timeout: 30,
56+
// header: 'Content-Type',
57+
// headerValue: 'text/xml'
58+
// }
59+
// }
60+
// ]);
4861
// this.load.image({ key: 'bunny' });
4962
// this.load.image({ key: 'bunny', extension: 'jpg' });
5063

0 commit comments

Comments
 (0)