aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-29 18:16:55 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:20 -0800
commit260bdcc25df67a9a32d08ff7b8a400f38933579a (patch)
tree84d2929d7e494ecca5d2dfb1d1c9077c1651c200 /src/parseTools.js
parent9cbdfde1937770d866fcf44b8158c71c025b0900 (diff)
remove outdated comments
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 4feeb441..7c2f8404 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -376,12 +376,12 @@ function isIndexableGlobal(ident) {
function makeGlobalDef(ident) {
if (!NAMED_GLOBALS && isIndexableGlobal(ident)) return '';
- return 'var ' + ident + ';'; // TODO: add option for namespacing or offsetting to allow reducing the number of globals
+ return 'var ' + ident + ';';
}
function makeGlobalUse(ident) {
if (!NAMED_GLOBALS && isIndexableGlobal(ident)) return '(' + getFastValue('GLOBAL_BASE', '+', Variables.indexedGlobals[ident]) + ')';
- return ident; // TODO: add option for namespacing or offsetting to allow reducing the number of globals
+ return ident;
}
function sortGlobals(globals) {