This commit is contained in:
Fabian Jakobs 2011-11-15 18:20:29 +01:00
commit 7dd3d5c576
17 changed files with 21 additions and 18 deletions

View file

@ -6502,7 +6502,7 @@ var EditSession = function(text, mode) {
};
this.getAnnotations = function() {
return this.$annotations;
return this.$annotations || {};
};
this.clearAnnotations = function() {
@ -15853,7 +15853,9 @@ oop.inherits(Mode, TextMode);
worker.on("ok", function(e) {
session.clearAnnotations();
});
});
return worker;
};
}).call(Mode.prototype);
@ -16887,6 +16889,7 @@ oop.inherits(Mode, TextMode);
session.setAnnotations(errors);
});
return worker;
};
}).call(Mode.prototype);

File diff suppressed because one or more lines are too long