rem: var dir = this.getPluginDir(pluginName); var plugin = pluginName.replace(/([a-z])([A-Z])([a-z])/g, function (str, l1, l2, l3) { return l1 + "-" + l2.toLowerCase() + l3; }).toLowerCase() + ".js"; var plugin_file = dir + "/" + plugin; var plugin_lang = dir + "/lang/" + _editor_lang + ".js"; document.write("<script type='text/javascript' src='" + plugin_file + "'></script>"); document.write("<script type='text/javascript' src='" + plugin_lang + "'></script>");   
add: var dir = _editor_url + "plugins/" + pluginName; var plugin = pluginName.replace(/([a-z])([A-Z])([a-z])/g, function (str, l1, l2, l3) { return l1 + "-" + l2.toLowerCase() + l3; }).toLowerCase() + ".js"; var plugin_file = dir + "/" + plugin; var plugin_lang = dir + "/lang/" + HTMLArea.I18N.lang + ".js"; HTMLArea._scripts.push(plugin_file, plugin_lang); document.write("<script type='text/javascript' src='" + plugin_file + "'></script>"); document.write("<script type='text/javascript' src='" + plugin_lang + "'></script>"); 
context: HTMLArea.loadPlugin = function(pluginName) {  var dir = this.getPluginDir(pluginName);  var plugin = pluginName.replace(/([a-z])([A-Z])([a-z])/g,          function (str, l1, l2, l3) {            return l1 + "-" + l2.toLowerCase() + l3;          }).toLowerCase() + ".js";  var plugin_file = dir + "/" + plugin;  var plugin_lang = dir + "/lang/" + _editor_lang + ".js";  document.write("<script type='text/javascript' src='" + plugin_file + "'></script>");  document.write("<script type='text/javascript' src='" + plugin_lang + "'></script>");  //this.loadScript(plugin_file);  //this.loadScript(plugin_lang);};
meta: 6230	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6230/70e7091322d161ad5e2256481886617b9211a07f/htmlarea.js/buggy/phpgwapi/js/htmlarea/htmlarea.js