mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 03:58:07 +02:00
cleanup
This commit is contained in:
parent
a6a834f2c7
commit
e4bdc2e86c
1 changed files with 8 additions and 11 deletions
|
@ -65,7 +65,6 @@ if (Menu.menuExists(MENU_CATEGORY) && !Menu.menuItemExists(MENU_CATEGORY, MENU_I
|
||||||
|
|
||||||
function runDefaultsTogether() {
|
function runDefaultsTogether() {
|
||||||
for (var j in DEFAULT_SCRIPTS) {
|
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() {
|
function stopLoadedScripts() {
|
||||||
|
|
||||||
// remove debug script loads
|
// remove debug script loads
|
||||||
var runningScripts = ScriptDiscoveryService.getRunning();
|
var runningScripts = ScriptDiscoveryService.getRunning();
|
||||||
for (var i in runningScripts) {
|
for (var i in runningScripts) {
|
||||||
|
@ -117,7 +115,6 @@ function stopLoadedScripts() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeMenuItem() {
|
function removeMenuItem() {
|
||||||
|
|
Loading…
Reference in a new issue