Sha256: 476334c6f1893f9f7a28c9df9ef3f9c71221049ecd5668ace4f56680840237fc
Contents?: true
Size: 1.15 KB
Versions: 19
Compression:
Stored size: 1.15 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.ParametersAside = (function(superClass) { extend(ParametersAside, superClass); function ParametersAside() { this.render = bind(this.render, this); return ParametersAside.__super__.constructor.apply(this, arguments); } ParametersAside.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, localePrefix: this.model.localePrefix() }); this.$el.html(subview.render().el); return this; }; return ParametersAside; })(ELA.Views.BaseAside); }).call(this);
Version data entries
19 entries across 19 versions & 1 rubygems