1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-27 02:59:47 +02:00
This commit is contained in:
Xuan Sang LE
2018-08-28 15:07:46 +02:00
parent 0817dd6079
commit 1f57e18fc7
2 changed files with 4 additions and 5 deletions

View File

@ -1,12 +1,12 @@
class MarkOn extends window.classes.BaseObject
constructor: (@id) ->
constructor: () ->
super "MarkOn"
init: () ->
me = @
@ready()
.then () ->
me.editor = new SimpleMDE { element: $(me.id)[0] }
me.editor = new SimpleMDE { element: $("#editor")[0] }
.catch (m, s) ->
console.error(m, s)