Merge pull request +9349 from c9/update-salesforce

Trivial salesforce-related updates
pull/152/head
Lennart Kats 2015-09-13 14:26:32 +02:00
commit 4797dbb6b8
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -55,7 +55,7 @@
"c9"
],
"c9plugins": {
"c9.ide.language": "#00dd412ebd",
"c9.ide.language": "#3c703d6784",
"c9.ide.language.css": "#a649f2a710",
"c9.ide.language.generic": "#77d43cfaf0",
"c9.ide.language.html": "#0f4078c187",

Wyświetl plik

@ -37,8 +37,8 @@ define(function(require, module, exports) {
var metadata = options.metadata;
plugin.title = title;
plugin.heading = util.escapeXml(header);
plugin.body = util.escapeXml(msg).replace(/\n/g, "<br />");
plugin.heading = options && options.isHTML ? header : util.escapeXml(header);
plugin.body = options && options.isHTML ? msg : util.escapeXml(msg).replace(/\n/g, "<br>");
plugin.allowClose = cancel;

Wyświetl plik

@ -493,8 +493,8 @@ define(function(require, exports, module) {
predictStartY = session.terminal.y + session.terminal.ybase;
state = STATE_PREDICT;
if (!checkTextBeforePrediction()) {
errorHandler.reportError(new Error("Warning: unable to init predictions"));
if (DEBUG) debugger;
// Appears to happen when tmux or shell unexpectedly sends a new line
console.warn("Unable to init predictions");
state = STATE_WAIT_FOR_ECHO;
}
});