diff options
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules.js b/src/modules.js index a91a41ec..fd18fc72 100644 --- a/src/modules.js +++ b/src/modules.js @@ -145,9 +145,16 @@ var Functions = { }; var LibraryManager = { + ready: false, + + init: function() { + this.ready = true; + }, + // Given an ident, see if it is an alias for something, and so forth, returning // the earliest ancestor (the root) getRootIdent: function(ident) { + if (!this.ready) return null; var ret = Library[ident]; if (!ret) return null; var last = ident; |