Sha256: 23831f7dc84bbbd54e4c209f7d7e58d714c1bcc994fe52a4cb668c880e0244c8

Contents?: true

Size: 254 Bytes

Versions: 33

Compression:

Stored size: 254 Bytes

Contents

class Quby.Views.QuestionOptionView extends Backbone.View
  tagName: "option"
  initialize: ->
    @model.set("view", @)
  events:
    "click" : "clicked"
  clicked: ->
    @model.trigger "clicked", @model
  chosen: ->
    @$el.is(":selected, :checked")

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
quby-4.0.4 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.0.pre4 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.0.pre3 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.0.pre2 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.0.pre1 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-4.0.3 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-4.0.2 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-4.0.1 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-4.0.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-3.2.2 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-3.2.1 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-3.2.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-3.2.0.pre.pre1 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee