mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 04:22:45 +02:00
39 lines
876 B
JavaScript
39 lines
876 B
JavaScript
"use strict";
|
|
/* jslint vars: true, plusplus: true */
|
|
|
|
//
|
|
// defaultScripts.js
|
|
//
|
|
// Authors: Zach Fox
|
|
// Created: 2019-05-23
|
|
// Copyright 2019 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
var DEFAULT_SCRIPTS_SEPARATE = [
|
|
"system/controllers/controllerScripts.js",
|
|
"ui/simplifiedUI.js"
|
|
];
|
|
function loadSeparateDefaults() {
|
|
for (var i in DEFAULT_SCRIPTS_SEPARATE) {
|
|
Script.load(DEFAULT_SCRIPTS_SEPARATE[i]);
|
|
}
|
|
}
|
|
|
|
|
|
var DEFAULT_SCRIPTS_COMBINED = [
|
|
"system/request-service.js",
|
|
"system/progress.js",
|
|
"system/away.js"
|
|
];
|
|
function runDefaultsTogether() {
|
|
for (var i in DEFAULT_SCRIPTS_COMBINED) {
|
|
Script.include(DEFAULT_SCRIPTS_COMBINED[i]);
|
|
}
|
|
loadSeparateDefaults();
|
|
}
|
|
|
|
|
|
runDefaultsTogether();
|