Sha256: d1311caa0c92834bc442c1ca45c03887b2d125818ee3f577d383507e877afa2a
Contents?: true
Size: 1.24 KB
Versions: 19
Compression:
Stored size: 1.24 KB
Contents
(function() { var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, 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; if (ELA.Views == null) { ELA.Views = {}; } ELA.Views.GroupedParametersAside = (function(superClass) { extend(GroupedParametersAside, superClass); function GroupedParametersAside() { this.render = bind(this.render, this); return GroupedParametersAside.__super__.constructor.apply(this, arguments); } GroupedParametersAside.prototype.render = function() { var subview; this.$el.addClass('scroll-y'); subview = this.subviews.form = new Backbone.Poised.Form({ model: this.model, liveForm: true, parentView: this, group: { by: 'group' }, localePrefix: this.model.localePrefix() }); this.$el.html(subview.render().el); return this; }; return GroupedParametersAside; })(ELA.Views.BaseAside); }).call(this);
Version data entries
19 entries across 19 versions & 1 rubygems