update packaged ace
This commit is contained in:
parent
c84dc5debb
commit
b5d5d732cc
5 changed files with 14 additions and 12 deletions
|
|
@ -8065,13 +8065,13 @@ var EditSession = function(text, mode) {
|
||||||
|
|
||||||
this.$startWorker = function() {
|
this.$startWorker = function() {
|
||||||
if (typeof Worker !== "undefined" && !require.noWorker) {
|
if (typeof Worker !== "undefined" && !require.noWorker) {
|
||||||
try {
|
//try {
|
||||||
this.$worker = this.$mode.createWorker(this);
|
this.$worker = this.$mode.createWorker(this);
|
||||||
} catch (e) {
|
// } catch (e) {
|
||||||
console.log("Could not load worker");
|
// console.log("Could not load worker");
|
||||||
console.log(e);
|
// console.log(e);
|
||||||
this.$worker = null;
|
// this.$worker = null;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
this.$worker = null;
|
this.$worker = null;
|
||||||
|
|
@ -13262,9 +13262,10 @@ var Gutter = function(parentEl) {
|
||||||
|
|
||||||
var emptyAnno = {className: "", text: []};
|
var emptyAnno = {className: "", text: []};
|
||||||
var html = [];
|
var html = [];
|
||||||
var i = config.firstRow, lastRow = config.lastRow
|
var i = config.firstRow;
|
||||||
fold = this.session.getNextFold(i),
|
var lastRow = config.lastRow;
|
||||||
foldStart = fold ?fold.start.row :Infinity;
|
var fold = this.session.getNextFold(i);
|
||||||
|
var foldStart = fold ? fold.start.row : Infinity;
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if(i > foldStart) {
|
if(i > foldStart) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
build/src/worker-coffee.js
Normal file
1
build/src/worker-coffee.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue