Sha256: 064ff68a103ae1f7be9dc34f5b9838d77c1cb9cdb5262fd2d5ded6ee7ebc6e46
Contents?: true
Size: 1.1 KB
Versions: 50
Compression:
Stored size: 1.1 KB
Contents
I"_(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.PanelView = (function(superClass) { extend(PanelView, superClass); function PanelView() { return PanelView.__super__.constructor.apply(this, arguments); } PanelView.prototype.model = Quby.Models.Panel; PanelView.prototype.initialize = function() { this.model.on("hide", this.hide, this); return this.model.on("unhide", this.unhide, this); }; PanelView.prototype.hide = function() { return this.$el.addClass("noVisibleQuestions"); }; PanelView.prototype.unhide = function() { return this.$el.removeClass("noVisibleQuestions"); }; PanelView.prototype.hidden = function() { return this.$el.is(".noVisibleQuestions"); }; return PanelView; })(Backbone.View); }).call(this); :ET
Version data entries
50 entries across 29 versions & 1 rubygems