Fix config.rootPath

This commit is contained in:
Joshua Granick
2017-05-24 08:09:43 -07:00
parent c2633d38ef
commit bb0650511e

View File

@@ -24,11 +24,12 @@ import sys.FileSystem;
preloadLibraries = new Array ();
preloadLibraryNames = new Array ();
var rootPath = null;
if (config != null && Reflect.hasField (config, "assetsPrefix")) {
if (config != null && Reflect.hasField (config, "rootPath")) {
rootPath = Reflect.field (config, "assetsPrefix");
rootPath = Reflect.field (config, "rootPath");
}