streamline demo startup

This commit is contained in:
Fabian Jakobs 2011-01-10 13:19:14 +01:00
commit 32d7246abd
3 changed files with 7 additions and 18 deletions

View file

@ -1,11 +0,0 @@
define(function(a) {
a("pilot/fixoldbrowsers");
var b = a("pilot/plugin_manager").catalog, d = a("pilot/plugin_manager").REASONS.APP_STARTUP;
a("pilot/settings");
b.registerPlugins(["pilot/index", "cockpit/index"]).then(function() {
var c = a("pilot/environment").create();
b.startupPlugins({env:c}, d).then(function() {
a("demo/startup").launch(c)
})
})
});