Sha256: bcbfae3666aaac4cfda407b89fd9ed3fdc1ac9324ee82e321ee1ef11c37ce466

Contents?: true

Size: 1.09 KB

Versions: 50

Compression:

Stored size: 1.09 KB

Contents

I"P(function() {
  var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
    hasProp = {}.hasOwnProperty;

  Quby.Views.QuestionOptionView = (function(superClass) {
    extend(QuestionOptionView, superClass);

    function QuestionOptionView() {
      return QuestionOptionView.__super__.constructor.apply(this, arguments);
    }

    QuestionOptionView.prototype.tagName = "option";

    QuestionOptionView.prototype.initialize = function() {
      return this.model.set("view", this);
    };

    QuestionOptionView.prototype.events = {
      "click": "clicked"
    };

    QuestionOptionView.prototype.clicked = function() {
      return this.model.trigger("clicked", this.model);
    };

    QuestionOptionView.prototype.chosen = function() {
      return this.$el.is(":selected, :checked");
    };

    return QuestionOptionView;

  })(Backbone.View);

}).call(this);
:ET

Version data entries

50 entries across 29 versions & 1 rubygems

Version Path
quby-5.6.5 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.6.3 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.6.0 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.5.0 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.3.0 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.2.0 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.1.3 spec/internal/tmp/cache/assets/test/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.1.3 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.1.2 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.1.2 spec/internal/tmp/cache/assets/test/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.1.1 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.1.1 spec/internal/tmp/cache/assets/test/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.1.0 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.1.0 spec/internal/tmp/cache/assets/test/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.0.5 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.0.5 spec/internal/tmp/cache/assets/test/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.0.4 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.0.4 spec/internal/tmp/cache/assets/test/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.0.3 spec/internal/tmp/cache/assets/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache
quby-5.0.2 spec/internal/tmp/cache/assets/test/sprockets/v3.0/i9/i9g0144tO65BWAQmNA2I0UdShmPseDhARo-GtnAVICU.cache