diff options
author | Chad Austin <chad@chadaustin.me> | 2012-09-25 16:48:46 -0700 |
---|---|---|
committer | Chad Austin <chad@chadaustin.me> | 2012-09-25 16:48:46 -0700 |
commit | 20d6af799df7143ba1c269aa4dde1ac5c4b53b70 (patch) | |
tree | 4e17772c03254216518cc6306a7d50ffa120b48b /src/jsifier.js | |
parent | 0cf5de736748d1310e68d6de60039b53ca2e08be (diff) |
Define and document SHELL_FILE in settings.js
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 456e50cf..92b39b7d 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -32,7 +32,7 @@ function JSify(data, functionsOnly, givenFunctions) { // else. This lets us not hold any strings in memory, we simply print // things out as they are ready. - var shellFile = (typeof SHELL_FILE !== 'undefined' && SHELL_FILE) ? SHELL_FILE : (BUILD_AS_SHARED_LIB ? 'shell_sharedlib.js' : 'shell.js'); + var shellFile = SHELL_FILE ? SHELL_FILE : (BUILD_AS_SHARED_LIB ? 'shell_sharedlib.js' : 'shell.js'); var shellParts = read(shellFile).split('{{BODY}}'); print(shellParts[0]); var preFile = BUILD_AS_SHARED_LIB ? 'preamble_sharedlib.js' : 'preamble.js'; |