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

Version Path
ela-4.1.6 dist/app_js/lib/views/grouped_parameters_aside.js
ela-4.1.5 dist/app_js/lib/views/grouped_parameters_aside.js
ela-4.1.4 dist/app_js/lib/views/grouped_parameters_aside.js
ela-4.1.3 dist/app_js/lib/views/grouped_parameters_aside.js
ela-4.1.2 dist/app_js/lib/views/grouped_parameters_aside.js
ela-4.1.1 dist/app_js/lib/views/grouped_parameters_aside.js
ela-4.1.0 dist/app_js/lib/views/grouped_parameters_aside.js
ela-4.0.0 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.4.3 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.4.2 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.4.0 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.3.1 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.3.0 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.2.0 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.1.1 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.1.0 dist/app_js/lib/views/grouped_parameters_aside.js
ela-3.0.0 dist/app_js/lib/views/grouped_parameters_aside.js
ela-2.0.0 dist/app_js/lib/views/grouped_parameters_aside.js
ela-1.1.0 dist/app_js/lib/views/grouped_parameters_aside.js