update build
This commit is contained in:
parent
fdb75c0cb9
commit
255a9a05ee
2 changed files with 24 additions and 24 deletions
|
|
@ -2899,47 +2899,47 @@ require.def("ace/ScrollBar", ["ace/lib/oop", "ace/lib/lang", "ace/lib/dom", "ace
|
||||||
}).call(e.prototype);
|
}).call(e.prototype);
|
||||||
return e
|
return e
|
||||||
});
|
});
|
||||||
require.def("ace/RenderLoop", function() {
|
require.def("ace/RenderLoop", ["ace/lib/event"], function(k) {
|
||||||
var k = function(f) {
|
var f = function(a) {
|
||||||
this.onRender = f;
|
this.onRender = a;
|
||||||
this.pending = false;
|
this.pending = false;
|
||||||
this.changes = 0
|
this.changes = 0
|
||||||
};
|
};
|
||||||
(function() {
|
(function() {
|
||||||
this.schedule = function(f) {
|
this.schedule = function(a) {
|
||||||
this.changes |= f;
|
this.changes |= a;
|
||||||
if(!this.pending) {
|
if(!this.pending) {
|
||||||
this.pending = true;
|
this.pending = true;
|
||||||
var a = this;
|
var h = this;
|
||||||
this.setTimeoutZero(function() {
|
this.setTimeoutZero(function() {
|
||||||
a.pending = false;
|
h.pending = false;
|
||||||
a.onRender(a.changes);
|
h.onRender(h.changes);
|
||||||
a.changes = 0
|
h.changes = 0
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if(window.postMessage) {
|
if(window.postMessage) {
|
||||||
this.messageName = "zero-timeout-message";
|
this.messageName = "zero-timeout-message";
|
||||||
this.setTimeoutZero = function(f) {
|
this.setTimeoutZero = function(a) {
|
||||||
if(!this.attached) {
|
if(!this.attached) {
|
||||||
var a = this;
|
var h = this;
|
||||||
window.addEventListener("message", function(h) {
|
k.addListener(window, "message", function(i) {
|
||||||
if(h.source == window && a.callback && h.data == a.messageName) {
|
if(i.source == window && h.callback && i.data == h.messageName) {
|
||||||
h.stopPropagation();
|
i.stopPropagation();
|
||||||
a.callback()
|
h.callback()
|
||||||
}
|
}
|
||||||
}, false);
|
});
|
||||||
this.attached = true
|
this.attached = true
|
||||||
}this.callback = f;
|
}this.callback = a;
|
||||||
window.postMessage(this.messageName, "*")
|
window.postMessage(this.messageName, "*")
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
this.setTimeoutZero = function(f) {
|
this.setTimeoutZero = function(a) {
|
||||||
setTimeout(f, 0)
|
setTimeout(a, 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).call(k.prototype);
|
}).call(f.prototype);
|
||||||
return k
|
return f
|
||||||
});
|
});
|
||||||
require.def("ace/VirtualRenderer", ["ace/lib/oop", "ace/lib/lang", "ace/lib/dom", "ace/lib/event", "ace/layer/Gutter", "ace/layer/Marker", "ace/layer/Text", "ace/layer/Cursor", "ace/ScrollBar", "ace/RenderLoop", "ace/MEventEmitter", 'text!ace/css/editor.css!.ace_editor {\n position: absolute;\n overflow: hidden;\n\n font-family: "Menlo", "Monaco", "Courier New", monospace;\n font-size: 12px; \n}\n\n.ace_scroller {\n position: absolute;\n overflow-x: scroll;\n overflow-y: hidden; \n}\n\n.ace_gutter {\n position: absolute;\n overflow-x: hidden;\n overflow-y: hidden;\n height: 100%;\n}\n\n.ace_editor .ace_sb {\n position: absolute;\n overflow-x: hidden;\n overflow-y: scroll;\n right: 0;\n}\n\n.ace_editor .ace_sb div {\n position: absolute;\n width: 1px;\n left: 0px;\n}\n\n.ace_editor .ace_printMargin {\n position: absolute;\n height: 100%;\n}\n\n.ace_layer {\n z-index: 0;\n position: absolute;\n overflow: hidden; \n white-space: nowrap;\n height: 100%;\n}\n\n.ace_text-layer {\n font-family: Monaco, "Courier New", monospace;\n color: black;\n}\n\n.ace_cursor-layer {\n cursor: text;\n}\n\n.ace_cursor {\n z-index: 3;\n position: absolute;\n}\n\n.ace_line {\n white-space: nowrap;\n}\n\n.ace_marker-layer {\n}\n\n.ace_marker-layer .ace_step {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 4;\n}\n\n.ace_marker-layer .ace_active_line {\n position: absolute;\n z-index: 1;\n}'],
|
require.def("ace/VirtualRenderer", ["ace/lib/oop", "ace/lib/lang", "ace/lib/dom", "ace/lib/event", "ace/layer/Gutter", "ace/layer/Marker", "ace/layer/Text", "ace/layer/Cursor", "ace/ScrollBar", "ace/RenderLoop", "ace/MEventEmitter", 'text!ace/css/editor.css!.ace_editor {\n position: absolute;\n overflow: hidden;\n\n font-family: "Menlo", "Monaco", "Courier New", monospace;\n font-size: 12px; \n}\n\n.ace_scroller {\n position: absolute;\n overflow-x: scroll;\n overflow-y: hidden; \n}\n\n.ace_gutter {\n position: absolute;\n overflow-x: hidden;\n overflow-y: hidden;\n height: 100%;\n}\n\n.ace_editor .ace_sb {\n position: absolute;\n overflow-x: hidden;\n overflow-y: scroll;\n right: 0;\n}\n\n.ace_editor .ace_sb div {\n position: absolute;\n width: 1px;\n left: 0px;\n}\n\n.ace_editor .ace_printMargin {\n position: absolute;\n height: 100%;\n}\n\n.ace_layer {\n z-index: 0;\n position: absolute;\n overflow: hidden; \n white-space: nowrap;\n height: 100%;\n}\n\n.ace_text-layer {\n font-family: Monaco, "Courier New", monospace;\n color: black;\n}\n\n.ace_cursor-layer {\n cursor: text;\n}\n\n.ace_cursor {\n z-index: 3;\n position: absolute;\n}\n\n.ace_line {\n white-space: nowrap;\n}\n\n.ace_marker-layer {\n}\n\n.ace_marker-layer .ace_step {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 4;\n}\n\n.ace_marker-layer .ace_active_line {\n position: absolute;\n z-index: 1;\n}'],
|
||||||
function(k, f, a, h, i, e, j, c, g, l, m, b) {
|
function(k, f, a, h, i, e, j, c, g, l, m, b) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
LGPLv3 <http://www.gnu.org/licenses/lgpl-3.0.txt>
|
LGPLv3 <http://www.gnu.org/licenses/lgpl-3.0.txt>
|
||||||
*/
|
*/
|
||||||
require.def("ace/RenderLoop", function() {
|
require.def("ace/RenderLoop", ["ace/lib/event"], function(e) {
|
||||||
var d = function(b) {
|
var d = function(b) {
|
||||||
this.onRender = b;
|
this.onRender = b;
|
||||||
this.pending = false;
|
this.pending = false;
|
||||||
|
|
@ -25,12 +25,12 @@ require.def("ace/RenderLoop", function() {
|
||||||
this.setTimeoutZero = function(b) {
|
this.setTimeoutZero = function(b) {
|
||||||
if(!this.attached) {
|
if(!this.attached) {
|
||||||
var a = this;
|
var a = this;
|
||||||
window.addEventListener("message", function(c) {
|
e.addListener(window, "message", function(c) {
|
||||||
if(c.source == window && a.callback && c.data == a.messageName) {
|
if(c.source == window && a.callback && c.data == a.messageName) {
|
||||||
c.stopPropagation();
|
c.stopPropagation();
|
||||||
a.callback()
|
a.callback()
|
||||||
}
|
}
|
||||||
}, false);
|
});
|
||||||
this.attached = true
|
this.attached = true
|
||||||
}this.callback = b;
|
}this.callback = b;
|
||||||
window.postMessage(this.messageName, "*")
|
window.postMessage(this.messageName, "*")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue