kopia lustrzana https://github.com/c9/core
Fully integrated installer back into cloud9
rodzic
1cdf7358d0
commit
d41c82b003
|
@ -46,7 +46,7 @@ module.exports = function(options) {
|
||||||
env: options.env || "devel",
|
env: options.env || "devel",
|
||||||
home: options.home,
|
home: options.home,
|
||||||
platform: options.platform,
|
platform: options.platform,
|
||||||
architecture: options.architecture,
|
arch: options.arch,
|
||||||
installed: options.installed,
|
installed: options.installed,
|
||||||
projectId: options.project.id,
|
projectId: options.project.id,
|
||||||
projectName: options.projectName || "Project",
|
projectName: options.projectName || "Project",
|
||||||
|
@ -222,7 +222,10 @@ module.exports = function(options) {
|
||||||
autoInit: !options.local
|
autoInit: !options.local
|
||||||
},
|
},
|
||||||
"plugins/c9.ide.ui/forms",
|
"plugins/c9.ide.ui/forms",
|
||||||
"plugins/c9.ide.ui/widgets.list",
|
{
|
||||||
|
packagePath: "plugins/c9.ide.ui/widgets.list",
|
||||||
|
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic"
|
||||||
|
},
|
||||||
"plugins/c9.ide.ui/widgets.tree",
|
"plugins/c9.ide.ui/widgets.tree",
|
||||||
"plugins/c9.ide.ui/widgets.datagrid",
|
"plugins/c9.ide.ui/widgets.datagrid",
|
||||||
"plugins/c9.ide.ui/focus",
|
"plugins/c9.ide.ui/focus",
|
||||||
|
@ -496,7 +499,10 @@ module.exports = function(options) {
|
||||||
"plugins/c9.ide.panels/area",
|
"plugins/c9.ide.panels/area",
|
||||||
|
|
||||||
// Installer
|
// Installer
|
||||||
"plugins/c9.ide.installer/gui",
|
{
|
||||||
|
packagePath: "plugins/c9.ide.installer/gui",
|
||||||
|
staticPrefix: staticPrefix + "/plugins/c9.ide.layout.classic",
|
||||||
|
},
|
||||||
"plugins/c9.ide.installer/automate",
|
"plugins/c9.ide.installer/automate",
|
||||||
"plugins/c9.ide.installer/commands/centos",
|
"plugins/c9.ide.installer/commands/centos",
|
||||||
"plugins/c9.ide.installer/commands/bash",
|
"plugins/c9.ide.installer/commands/bash",
|
||||||
|
|
|
@ -60,9 +60,9 @@
|
||||||
"c9.ide.language.javascript.tern": "#7aab8b0b6a",
|
"c9.ide.language.javascript.tern": "#7aab8b0b6a",
|
||||||
"c9.ide.language.javascript.infer": "#ebb2daf81a",
|
"c9.ide.language.javascript.infer": "#ebb2daf81a",
|
||||||
"c9.ide.language.jsonalyzer": "#efa4426f1f",
|
"c9.ide.language.jsonalyzer": "#efa4426f1f",
|
||||||
"c9.ide.collab": "#7009f69cb0",
|
"c9.ide.collab": "#ce60175443",
|
||||||
"c9.ide.local": "#2bfd7ff051",
|
"c9.ide.local": "#2bfd7ff051",
|
||||||
"c9.ide.find": "#989c06e6a7",
|
"c9.ide.find": "#9fc6f4cfa5",
|
||||||
"c9.ide.find.infiles": "#1b83cf12f1",
|
"c9.ide.find.infiles": "#1b83cf12f1",
|
||||||
"c9.ide.find.replace": "#e4daf722b8",
|
"c9.ide.find.replace": "#e4daf722b8",
|
||||||
"c9.ide.run.debug": "#638e6b00b3",
|
"c9.ide.run.debug": "#638e6b00b3",
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
"c9.ide.help.support": "#60e88f5680",
|
"c9.ide.help.support": "#60e88f5680",
|
||||||
"c9.ide.imgeditor": "#08bbc53578",
|
"c9.ide.imgeditor": "#08bbc53578",
|
||||||
"c9.ide.immediate": "#6845a93705",
|
"c9.ide.immediate": "#6845a93705",
|
||||||
"c9.ide.installer": "#cb5f4d70c6",
|
"c9.ide.installer": "#d9153a0489",
|
||||||
"c9.ide.mount": "#32e79866ee",
|
"c9.ide.mount": "#32e79866ee",
|
||||||
"c9.ide.navigate": "#64156c7f4a",
|
"c9.ide.navigate": "#64156c7f4a",
|
||||||
"c9.ide.newresource": "#9a7464cc47",
|
"c9.ide.newresource": "#9a7464cc47",
|
||||||
|
|
|
@ -24,6 +24,7 @@ define(function(require, module, exports) {
|
||||||
|
|
||||||
var loaded = false;
|
var loaded = false;
|
||||||
var loggedIn = false;
|
var loggedIn = false;
|
||||||
|
var isReady = false;
|
||||||
var state = 0;
|
var state = 0;
|
||||||
|
|
||||||
var STORAGE = 1 << 1;
|
var STORAGE = 1 << 1;
|
||||||
|
@ -109,6 +110,7 @@ define(function(require, module, exports) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function ready(){
|
function ready(){
|
||||||
|
isReady = true;
|
||||||
emit.sticky("ready");
|
emit.sticky("ready");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -284,6 +286,10 @@ define(function(require, module, exports) {
|
||||||
*/
|
*/
|
||||||
get startLoadTime(){ return startLoadTime; },
|
get startLoadTime(){ return startLoadTime; },
|
||||||
set startLoadTime(v){ startLoadTime = v; },
|
set startLoadTime(v){ startLoadTime = v; },
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
get isReady(){ return isReady; },
|
||||||
|
|
||||||
_events: [
|
_events: [
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -19,7 +19,7 @@ define(function(require, exports, module) {
|
||||||
};
|
};
|
||||||
|
|
||||||
ui.on("load", function(){
|
ui.on("load", function(){
|
||||||
ui.insertCss(require("text!./widgets.less"), ui);
|
ui.insertCss(require("text!./widgets.less"), options.staticPrefix, ui);
|
||||||
});
|
});
|
||||||
|
|
||||||
/***** Constructors *****/
|
/***** Constructors *****/
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
app.on("ready", function(){
|
app.on("ready", function(){
|
||||||
// if (app.services.c9.debug)
|
// if (app.services.c9.debug)
|
||||||
window.app = app.services;
|
window.app = app.services;
|
||||||
|
app.services.c9.ready();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue