mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 02:37:12 +02:00
cleanup
This commit is contained in:
parent
a6a834f2c7
commit
e4bdc2e86c
1 changed files with 8 additions and 11 deletions
|
@ -65,8 +65,7 @@ if (Menu.menuExists(MENU_CATEGORY) && !Menu.menuItemExists(MENU_CATEGORY, MENU_I
|
|||
|
||||
function runDefaultsTogether() {
|
||||
for (var j in DEFAULT_SCRIPTS) {
|
||||
print('trying to include:'+DEFAULT_SCRIPTS[j])
|
||||
Script.include(DEFAULT_SCRIPTS[j]+"?"+Math.random());
|
||||
Script.include(DEFAULT_SCRIPTS[j] + "?" + Math.random());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -106,7 +105,6 @@ function menuItemEvent(menuItem) {
|
|||
|
||||
|
||||
function stopLoadedScripts() {
|
||||
|
||||
// remove debug script loads
|
||||
var runningScripts = ScriptDiscoveryService.getRunning();
|
||||
for (var i in runningScripts) {
|
||||
|
@ -117,7 +115,6 @@ function stopLoadedScripts() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function removeMenuItem() {
|
||||
|
|
Loading…
Reference in a new issue