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-5.6.5 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.6.3 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.6.2 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.6.1 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.6.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.5.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.4.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.3.1 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.3.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.2.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.1.3 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.1.2 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.1.1 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.1.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.5 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.4 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.3 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.2 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.1 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee
quby-5.0.0 app/assets/javascripts/quby/backbone/views/question_option_view.js.coffee