]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 9 Sep 2013 12:02:46 +0000 (12:02 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 9 Sep 2013 12:02:46 +0000 (12:02 +0000)
js/main.js

index 25583516b8c57c439b8bc74ee7ad88ca3ba03302..d37039fec9a8879968c5c00014c15f62cab09ef1 100644 (file)
@@ -52,11 +52,10 @@ function onAppResume() {
 }
 
 function onDeviceReady() {
-
        var manifest = window.sessionStorage.getItem('manifest.' + DATAS.id);
        var fsprefix = window.sessionStorage.getItem('galfsprefix');
        if (navigator.onLine && manifest) {
-               gal = new GameAssetLoader(JSON.parse(manifest), fsprefix);
+               gal = new GameAssetLoader(fsprefix,JSON.parse(manifest));
                gal.init(function() {
                        startAfterLoading = true;
                        init();