Skip to content

Commit 6ecb7e1

Browse files
author
Andrew Start
committed
Removed old file.
I added it a while ago, but replaced its usage with eval().
1 parent c3d6b5e commit 6ecb7e1

File tree

2 files changed

+3
-66
lines changed

2 files changed

+3
-66
lines changed

src/preloadjs/XHRLoader.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,9 @@ this.createjs = this.createjs || {};
592592
case createjs.LoadQueue.MANIFEST:
593593
var json;
594594
try {
595-
/*if(JSON.minify && (this._item.data && this._item.data.minify))
596-
{
597-
this._response = JSON.minify(this._response);
598-
}
599-
json = JSON.parse(this._response);*/
595+
/*
596+
json = JSON.parse(this._response);
597+
*/
600598
//use eval to allow javascript comments in the JSON
601599
eval("json = " + this._response + ";");//thankfully, uglify won't mangle 'var json' because we use it in eval()
602600
} catch (error) {

src/preloadjs/minify.json.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)