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.Flags = (function(superClass) { extend(Flags, superClass); function Flags() { return Flags.__super__.constructor.apply(this, arguments); } Flags.prototype.model = Quby.Models.Flag; Flags.prototype.initShowsHides = function(allQuestions) { return this.each((function(_this) { return function(flag) { return flag.initShowsHides(allQuestions); }; })(this)); }; Flags.prototype.addFlags = function(flag_definitions, flag_values) { return _.each(_.pairs(flag_definitions), (function(_this) { return function(arg) { var bb_flag, flag, flagkey; flagkey = arg[0], flag = arg[1]; bb_flag = { value: flag_values[flagkey], key: flagkey, hidesQuestionsKeys: flag.hides_questions, showsQuestionsKeys: flag.shows_questions, triggerOn: flag.trigger_on }; return _this.add(bb_flag); }; })(this)); }; return Flags; })(Backbone.Collection); }).call(this); :ET