Adaptations for APP Engine compatibility
This commit is contained in:
parent
02e261880a
commit
b42f896584
2 changed files with 4 additions and 3 deletions
|
@ -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/";
|
||||
},
|
||||
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue