Sha256: 4e53dea44b4134ee3ede7579e2d0463c738a916d16ada2966bc6a389de5c2f29
Contents?: true
Size: 1.04 KB
Versions: 52
Compression:
Stored size: 1.04 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.Collections.Questions = (function(superClass) { extend(Questions, superClass); function Questions() { return Questions.__super__.constructor.apply(this, arguments); } Questions.prototype.model = Quby.Models.Question; Questions.prototype.noneVisible = function() { var questionNotVisible; if (this.isEmpty()) { return false; } questionNotVisible = function(question) { return !question.isVisible(); }; return this.every(questionNotVisible); }; Questions.prototype.addQuestions = function(questions) { return this.add(questions.models); }; return Questions; })(Backbone.Collection); }).call(this); :ET
Version data entries
52 entries across 31 versions & 1 rubygems