From: Vincent Vanwaelscappel Date: Mon, 9 Sep 2013 12:02:46 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=40832eb768121ad6d232e9068ab57fe3ac807938;p=fluidbook-html5.git --- diff --git a/js/main.js b/js/main.js index 25583516..d37039fe 100644 --- a/js/main.js +++ b/js/main.js @@ -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();