|
|
the load process is done in the following order bxe_startLoads the core js files. They are defined in the array mozile_js_files in bxeLoader.js corescript_loadedThis function just counts the loaded scripts and if we're done with all, we call mozile_core_loaded. widget_loadedthe widget.js gets a special onload handler. as soon as it's loaded, we show the about_box mozile_core_loadedIf all core scripts are loaded, mozile_core_loaded gets called. config_loadedWhen config.xml is loaded and parsed, this function is called. It loads the css and the non-core-js-files, defined in Config.xml. For each JS file, we add an onload event to script_loaded script_loadedjust counts the loaded non-core JS files and calls mozile_loaded when all are loaded mozile_loadedstarts the loading-XML-process. When the xml is loaded and evt. transformed it calls xml_loaded xml_loadedwe're finished with loading and can actually start editing. |
Add Comment