Hi, > > I do not know what exactly you are referring to, but the inclusion of > > Listener.js in ModelBase.js is definitely needed. > > > Why is it definitely needed? > Mapbuilder works good without . > I know it is for ensure the script is loaded , but this script is > already loaded in mapbuilder.js ,
You are right. This means that all loadScript statements loading the files in lines 108-119 of Mapbuilder.js (r3061) could be removed from other scripts. > I've already talk about that but I don't like these loadScript I've the > impress they do nothing and they duplicate code. loadScript adds the url as id to the script tag, and it checks for existing urls before adding a new script tag. So it definitely does not duplicate code, at least not in IE and FF. Regards, Andreas. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
