JS core: allow setting loaded_components in other scripts
authorDan
Wed, 27 May 2009 09:45:54 -0400
changeset 1006 ec33f6cb333d
parent 1005 b7c7f7e2e93b
child 1007 2b77ebbf8701
JS core: allow setting loaded_components in other scripts
includes/clientside/static/enano-lib-basic.js
--- a/includes/clientside/static/enano-lib-basic.js	Wed May 27 09:45:03 2009 -0400
+++ b/includes/clientside/static/enano-lib-basic.js	Wed May 27 09:45:54 2009 -0400
@@ -230,7 +230,7 @@
   enano_hooks[hook_name] += code;
 }
 
-var loaded_components = {};
+var loaded_components = loaded_components || {};
 var _load_component_running = false;
 function load_component(file)
 {