semicolonify demo files;

This commit is contained in:
nightwing 2013-11-13 21:09:28 +04:00
commit fada97f807
7 changed files with 59 additions and 62 deletions

View file

@ -42,7 +42,7 @@ var MultiSelect = require("ace/multi_select").MultiSelect;
exports.createEditor = function(el) {
return new Editor(new Renderer(el));
}
};
exports.createSplitEditor = function(el) {
if (typeof(el) == "string")
@ -62,9 +62,6 @@ exports.createSplitEditor = function(el) {
split.editor1 = split[1] = new Editor(new Renderer(e1));
split.splitter = s;
MultiSelect(split.editor0);
MultiSelect(split.editor1);
s.ratio = 0.5;
split.resize = function resize(){
@ -108,8 +105,8 @@ exports.createSplitEditor = function(el) {
};
var onResizeInterval = function() {
s.ratio = (x - rect.left) / rect.width
split.resize()
s.ratio = (x - rect.left) / rect.width;
split.resize();
};
event.capture(s, onMouseMove, onResizeEnd);