Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

jsilConfig

kevingadd edited this page Sep 11, 2012 · 20 revisions

The JSIL script loader (contained in JSIL.js) is responsible for loading the scripts necessary to run a JSIL game or application. The script loader (and other parts of JSIL) read configuration settings from a global variable named jsilConfig.

jsilConfig format

The jsilConfig object is a JSON-style dictionary. The following keys can be provided:

Key Type Default Value Description
libraryRoot String "../Libraries/" Where JSIL looks for libraries (like JSIL.Bootstrap).
manifestRoot String "" Where JSIL looks for manifests (like MyApp.manifest.js).
scriptRoot String ""
fileRoot String ""
assetRoot String ""
contentRoot String "Content/"
fileVirtualRoot String fileRoot or ""