Sha256: 40e48985f3444b8567050a6c6d5cb8c3fb2b5bf824ae637668bf4a43537b50b4
Contents?: true
Size: 436 Bytes
Versions: 19
Compression:
Stored size: 436 Bytes
Contents
Locomotive.Views.EditableElements ||= {} class Locomotive.Views.EditableElements.ShortTextView extends Backbone.View tagName: 'li' className: 'text input short' render: -> $(@el).html(ich.editable_text_input(@model.toJSON())) @$('textarea').bind 'keyup', (event) => input = $(event.target) @model.set(content: input.val()) return @ after_render: -> # do nothing refresh: -> # do nothing
Version data entries
19 entries across 19 versions & 2 rubygems