Adaptations for APP Engine compatibility

This commit is contained in:
jdescottes 2013-08-04 22:15:45 +02:00
parent 02e261880a
commit b42f896584
2 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,7 @@ var jscolor = {
getDir : function() {
return "js/lib/jsColor_1_4_0/";
return "/" + window.location.pathname.split("/")[1] + "/js/lib/jsColor_1_4_0/";
},

View File

@ -69,8 +69,9 @@
this.localStorageService.displayRestoreNotification();
}
} else {
if (pskl.framesheetData_) {
frameSheet.load(pskl.framesheetData_);
if (pskl.framesheetData_ && pskl.framesheetData_.content) {
frameSheet.load(pskl.framesheetData_.content);
pskl.app.animationController.setFPS(pskl.framesheetData_.fps);
}
this.finishInit();
}