diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-27 20:02:42 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-27 20:02:42 -0800 |
commit | ee0c41b39bcaf80144b8112d3e307d3e4630c077 (patch) | |
tree | b1c40a03e904dd2258f97989380bb3c651fa81b7 /src/modules.js | |
parent | bdef7bf784d5765ffb4b64c51426eb1c517c33ea (diff) |
do not index globals referred to by name in library
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules.js b/src/modules.js index f939395b..fd0ec35e 100644 --- a/src/modules.js +++ b/src/modules.js @@ -266,6 +266,7 @@ var Functions = { var LibraryManager = { library: null, + loaded: false, load: function() { assert(!this.library); @@ -274,6 +275,8 @@ var LibraryManager = { for (var i = 0; i < libraries.length; i++) { eval(processMacros(preprocess(read(libraries[i])))); } + + this.loaded = true; }, // Given an ident, see if it is an alias for something, and so forth, returning |