kopia lustrzana https://github.com/c9/core
Merge pull request +9561 from c9/fix/repl
Enable Bash REPL. Prepare Immediate for Salesforce Log Viewer.pull/223/head
commit
b64644bdfd
|
@ -382,7 +382,7 @@ module.exports = function(options) {
|
||||||
"plugins/c9.ide.immediate/evaluator",
|
"plugins/c9.ide.immediate/evaluator",
|
||||||
"plugins/c9.ide.immediate/evaluators/browserjs",
|
"plugins/c9.ide.immediate/evaluators/browserjs",
|
||||||
"plugins/c9.ide.immediate/evaluators/debugnode",
|
"plugins/c9.ide.immediate/evaluators/debugnode",
|
||||||
// "plugins/c9.ide.immediate/evaluators/bash",
|
"plugins/c9.ide.immediate/evaluators/bash",
|
||||||
"plugins/c9.ide.run.debug/variables",
|
"plugins/c9.ide.run.debug/variables",
|
||||||
"plugins/c9.ide.run.debug/watches",
|
"plugins/c9.ide.run.debug/watches",
|
||||||
"plugins/c9.ide.run.debug/liveinspect",
|
"plugins/c9.ide.run.debug/liveinspect",
|
||||||
|
|
|
@ -71,12 +71,12 @@
|
||||||
"c9.ide.find": "#35379124ca",
|
"c9.ide.find": "#35379124ca",
|
||||||
"c9.ide.find.infiles": "#c132ad243c",
|
"c9.ide.find.infiles": "#c132ad243c",
|
||||||
"c9.ide.find.replace": "#44772dd796",
|
"c9.ide.find.replace": "#44772dd796",
|
||||||
"c9.ide.run.debug": "#e38e16e120",
|
"c9.ide.run.debug": "#a46abda8e9",
|
||||||
"c9.automate": "#47e2c429c9",
|
"c9.automate": "#47e2c429c9",
|
||||||
"c9.ide.ace.emmet": "#6dc4585e02",
|
"c9.ide.ace.emmet": "#6dc4585e02",
|
||||||
"c9.ide.ace.gotoline": "#a8ff07c8f4",
|
"c9.ide.ace.gotoline": "#a8ff07c8f4",
|
||||||
"c9.ide.ace.keymaps": "#2e3c6e3c8f",
|
"c9.ide.ace.keymaps": "#2e3c6e3c8f",
|
||||||
"c9.ide.ace.repl": "#ed708a1b98",
|
"c9.ide.ace.repl": "#4b88a85b7b",
|
||||||
"c9.ide.ace.split": "#0ae0151c78",
|
"c9.ide.ace.split": "#0ae0151c78",
|
||||||
"c9.ide.ace.statusbar": "#d95be89d53",
|
"c9.ide.ace.statusbar": "#d95be89d53",
|
||||||
"c9.ide.ace.stripws": "#cf0f42ac59",
|
"c9.ide.ace.stripws": "#cf0f42ac59",
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
"c9.ide.format": "#33ebd01914",
|
"c9.ide.format": "#33ebd01914",
|
||||||
"c9.ide.help.support": "#e95f98f87c",
|
"c9.ide.help.support": "#e95f98f87c",
|
||||||
"c9.ide.imgeditor": "#66a9733dc1",
|
"c9.ide.imgeditor": "#66a9733dc1",
|
||||||
"c9.ide.immediate": "#18c23aa730",
|
"c9.ide.immediate": "#29fd6d3f51",
|
||||||
"c9.ide.installer": "#0fde9f0067",
|
"c9.ide.installer": "#0fde9f0067",
|
||||||
"c9.ide.mount": "#3e017a3324",
|
"c9.ide.mount": "#3e017a3324",
|
||||||
"c9.ide.navigate": "#c191d9b92f",
|
"c9.ide.navigate": "#c191d9b92f",
|
||||||
|
|
|
@ -530,8 +530,8 @@ define(function(require, exports, module) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function cleanUp(keepElements) {
|
function cleanUp(what) {
|
||||||
if (!keepElements) {
|
if (!what || ~what.indexOf("elements")) {
|
||||||
// Loop through elements
|
// Loop through elements
|
||||||
elements.forEach(function(element) {
|
elements.forEach(function(element) {
|
||||||
element.destroy(true, true);
|
element.destroy(true, true);
|
||||||
|
@ -542,6 +542,7 @@ define(function(require, exports, module) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loop through events
|
// Loop through events
|
||||||
|
if (!what || ~what.indexOf("events")) {
|
||||||
events.forEach(function(eventRecord) {
|
events.forEach(function(eventRecord) {
|
||||||
var event = eventRegistry[eventRecord[0]];
|
var event = eventRegistry[eventRecord[0]];
|
||||||
if (!event) return; // this happens with mock plugins during testing
|
if (!event) return; // this happens with mock plugins during testing
|
||||||
|
@ -561,14 +562,16 @@ define(function(require, exports, module) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
events = [];
|
events = [];
|
||||||
|
onNewEvents = {};
|
||||||
|
}
|
||||||
|
|
||||||
// Loop through other
|
// Loop through other
|
||||||
|
if (!what || ~what.indexOf("other")) {
|
||||||
other.forEach(function(o) {
|
other.forEach(function(o) {
|
||||||
o();
|
o();
|
||||||
});
|
});
|
||||||
other = [];
|
other = [];
|
||||||
|
}
|
||||||
onNewEvents = {};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setAPIKey(apikey){
|
function setAPIKey(apikey){
|
||||||
|
|
|
@ -738,6 +738,8 @@ apf.menu = function(struct, tagName){
|
||||||
* @param {String} value The value of the item to select.
|
* @param {String} value The value of the item to select.
|
||||||
*/
|
*/
|
||||||
this.select = function(group, value){
|
this.select = function(group, value){
|
||||||
|
this.selectedValue = value;
|
||||||
|
|
||||||
var nodes = this.childNodes;
|
var nodes = this.childNodes;
|
||||||
var i, l = nodes.length;
|
var i, l = nodes.length;
|
||||||
for (i = 0; i < l; i++) {
|
for (i = 0; i < l; i++) {
|
||||||
|
@ -1530,8 +1532,8 @@ apf.item = function(struct, tagName){
|
||||||
//@todo Anim effect here?
|
//@todo Anim effect here?
|
||||||
|
|
||||||
this.dispatchEvent("click", {
|
this.dispatchEvent("click", {
|
||||||
xmlContext : this.parentNode.xmlReference,
|
xmlContext : (this.parentNode || 0).xmlReference,
|
||||||
opener : this.parentNode.opener
|
opener : (this.parentNode || 0).opener
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue