diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-06-11 10:32:42 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-06-11 10:32:42 -0700 |
commit | 41a99b287182ea2870d51665c224ef6c315132ab (patch) | |
tree | ac0b8013875e82ab07ddbe58716a3f6098346b3b /src/jsifier.js | |
parent | 9d720befae4ae24ad49b1c814ab947dd090a0b32 (diff) |
remove GENERATING_HTML, it was confusing and gave little or no benefit
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 1d18f292..e76407b2 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -71,10 +71,7 @@ function JSify(data, functionsOnly, givenFunctions) { } } } else { - libFuncsToInclude = ['memcpy', 'memset', 'malloc', 'free']; - } - if (GENERATING_HTML) { - libFuncsToInclude.push('$Browser'); + libFuncsToInclude = ['memcpy', 'memset', 'malloc', 'free', '$Browser']; } libFuncsToInclude.forEach(function(ident) { data.functionStubs.push({ |