simplify startup options for easy re-impl of require
This commit is contained in:
parent
6807a9c7dd
commit
3b8cc5e37d
1 changed files with 2 additions and 1 deletions
|
|
@ -53,7 +53,8 @@ var config = {
|
|||
var deps = [ "pilot/fixoldbrowsers", "pilot/plugin_manager", "pilot/settings",
|
||||
"pilot/environment", "demo_startup" ];
|
||||
|
||||
require(config, deps, function() {
|
||||
require(config);
|
||||
require(deps, function() {
|
||||
var catalog = require("pilot/plugin_manager").catalog;
|
||||
catalog.registerPlugins([ "pilot/index", "cockpit/index" ]).then(function() {
|
||||
var env = require("pilot/environment").create();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue