6 lines
170 B
CoffeeScript
6 lines
170 B
CoffeeScript
class @HTML
|
|
constructor: (id) ->
|
|
$('#' + id + " #edit-box").on('input', ->
|
|
$('#' + id + ' #edit-preview').empty().append($(this).val())
|
|
)
|