diff options
author | max99x <max99x@gmail.com> | 2011-08-25 22:21:00 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-08-25 22:21:00 +0300 |
commit | f99ce662ae538554d0d3053aacdb47126938291c (patch) | |
tree | 3cdd607322ddfa96573b05a7ebf9e41cbd105cd6 /src/jsifier.js | |
parent | 84f122cbee271c6ecf9be877c2ea699ab8f9cb1c (diff) |
Style fixes in response to code review. No change in functionality.
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 1bbd4d20..94f78134 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -199,7 +199,8 @@ function JSify(data, functionsOnly, givenFunctions, givenGlobalVariables) { return ret; } else { if (item.external && BUILD_AS_SHARED_LIB) { - // External variables in shared libraries should not be declared. + // External variables in shared libraries should not be declared as + // they would shadow similarly-named globals in the parent. item.JS = ''; } else { item.JS = 'var ' + item.ident + ';'; |