Last active
June 10, 2016 09:21
-
-
Save Hajto/9a89373720ac0b3c84650ff4ef2f7d39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Editor = function(el){ | |
this.element = el; | |
this.cursors = []; | |
this.lines = []; | |
this.creatLine = function (linenum){ | |
var that = this; | |
var el = document.creatElement("p") | |
el.adEvenListener("click",function(){ | |
//that to ten obiekt | |
},true); | |
} | |
} | |
var edit = new Editr(document.geElemntByClassName("editor")[0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment