aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-12-30 21:42:06 -0800
committerAlon Zakai <azakai@mozilla.com>2010-12-30 21:42:06 -0800
commitff4341e7d5bfb82cc711146ab80e31635e5865b7 (patch)
treee8c25ce0f8d7fe869e48531c4c277ea7f95db7c4 /src/parseTools.js
parent47f29aed8aa7905c24562188d2d7e2861972ebed (diff)
simple django-style substitution/macros
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index e9ca3e34..12b531ea 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -2,7 +2,7 @@
// specific to Emscripten (and hence not in utility.js).
// Simple #if/else/endif preprocessing for a file. Checks if the
-// ident checked is true in our global. Also replaces some constants
+// ident checked is true in our global. Also replaces some constants.
function preprocess(text, constants) {
for (constant in constants) {
text = text.replace(eval('/' + constant + '/g'), constants[constant]);