Commit 9ea6788f authored by David Gonçalves's avatar David Gonçalves 📖

added jquery and fixed a few things

parent 00702993
......@@ -3,7 +3,8 @@
class Editor {
constructor(ace) {
this.editor = ace.edit("XMLCode");//Get editor instance
//Get editor instance
this.editor = ace.edit("XMLCode");
// Set font size
Editor.changeFontSize();
......@@ -14,6 +15,9 @@ class Editor {
this.changeTheme("sqlserver");
}
// Set lines
this.setLines();
// Set mode
this.editor.getSession().setMode("ace/mode/xml");
......
......@@ -9,7 +9,6 @@ $(document).ready(function () {
// Initialize editor
var editor = new Editor(ace);
editor.setLines();
// Events
$('#fileInput').on('change', function(e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment