summaryrefslogtreecommitdiffstats
path: root/o3d/samples/o3djs/io.js
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples/o3djs/io.js')
-rw-r--r--o3d/samples/o3djs/io.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/o3d/samples/o3djs/io.js b/o3d/samples/o3djs/io.js
index 2bd1a3a..690bd2c 100644
--- a/o3d/samples/o3djs/io.js
+++ b/o3d/samples/o3djs/io.js
@@ -494,9 +494,7 @@ o3djs.io.loadArchiveAdvanced = function(pack,
var request = pack.createArchiveRequest();
var loadInfo = o3djs.io.createLoadInfo(request, true);
request.open('GET', url);
- request.onfileavailable = function() {
- onFileAvailable(/** @type {!o3d.RawData} */ (request.data));
- };
+ request.onfileavailable = onFileAvailable;
/**
* @ignore
*/