Merge branch 'develop' of github.com:ether/etherpad-lite into develop
This commit is contained in:
commit
11af9228db
|
@ -36,13 +36,10 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// the following has been successfully tested with the following browsers
|
// there shouldn#t be a browser that isn't compatible to all
|
||||||
// works also behind reverse proxy
|
// transports in this list at once
|
||||||
// Firefox 14.0.1
|
// e.g. XHR is disabled in IE by default, so in IE it should use jsonp-polling
|
||||||
// IE8 with Native XMLHTTP support
|
io.set('transports', ['xhr-polling', 'jsonp-polling', 'htmlfile']);
|
||||||
// IE8 without Native XMLHTTP support
|
|
||||||
// Chrome 21.0.1180.79
|
|
||||||
io.set('transports', ['jsonp-polling']);
|
|
||||||
|
|
||||||
var socketIOLogger = log4js.getLogger("socket.io");
|
var socketIOLogger = log4js.getLogger("socket.io");
|
||||||
io.set('logger', {
|
io.set('logger', {
|
||||||
|
|
|
@ -333,14 +333,6 @@ function Ace2Inner(){
|
||||||
return colorutils.triple2css(color);
|
return colorutils.triple2css(color);
|
||||||
}
|
}
|
||||||
|
|
||||||
function doAlert(str)
|
|
||||||
{
|
|
||||||
scheduler.setTimeout(function()
|
|
||||||
{
|
|
||||||
alert(str);
|
|
||||||
}, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
editorInfo.ace_getRep = function()
|
editorInfo.ace_getRep = function()
|
||||||
{
|
{
|
||||||
return rep;
|
return rep;
|
||||||
|
@ -1624,7 +1616,7 @@ function Ace2Inner(){
|
||||||
|
|
||||||
if (linesWrapped > 0)
|
if (linesWrapped > 0)
|
||||||
{
|
{
|
||||||
doAlert("Editor warning: " + linesWrapped + " long line" + (linesWrapped == 1 ? " was" : "s were") + " hard-wrapped into " + ccData.numLinesAfter + " lines.");
|
// console.log("Editor warning: " + linesWrapped + " long line" + (linesWrapped == 1 ? " was" : "s were") + " hard-wrapped into " + ccData.numLinesAfter + " lines.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ss[0] >= 0) selStart = [ss[0] + a + netNumLinesChangeSoFar, ss[1]];
|
if (ss[0] >= 0) selStart = [ss[0] + a + netNumLinesChangeSoFar, ss[1]];
|
||||||
|
|
Loading…
Reference in New Issue