Sha256: 8d613b4f266a3c41d7da0b7cdd9d25f90efbcf3724938bf8f5ee3af5ef75e1f5

Contents?: true

Size: 1009 Bytes

Versions: 6

Compression:

Stored size: 1009 Bytes

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;

  App.Views.Admin.Comments.Form = (function(superClass) {
    extend(Form, superClass);

    function Form(opts) {
      if (opts == null) {
        opts = {};
      }
      Form.__super__.constructor.call(this, opts);
    }

    Form.prototype.render = function(opts) {
      var form;
      if (opts == null) {
        opts = {};
      }
      form = new App.UI.Form({
        "for": new App.Models.Article.Comment({
          id: opts.commentId,
          resource: 'admin'
        }),
        id: "edit_comment_" + opts.commentId,
        initObj: true
      });
      return form.render();
    };

    return Form;

  })(App.Views.Base);

}).call(this);
:ET

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
loco-rails-1.0.2 test/dummy/tmp/cache/assets/development/sprockets/v3.0/_hq-BHtUE6IBbKedVxoMZx5UD-gn3z4dnn6WuluJmEc.cache
loco-rails-1.0.2 test/dummy/tmp/cache/assets/test/sprockets/v3.0/_hq-BHtUE6IBbKedVxoMZx5UD-gn3z4dnn6WuluJmEc.cache
loco-rails-1.0.1 test/dummy/tmp/cache/assets/development/sprockets/v3.0/_hq-BHtUE6IBbKedVxoMZx5UD-gn3z4dnn6WuluJmEc.cache
loco-rails-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/v3.0/_hq-BHtUE6IBbKedVxoMZx5UD-gn3z4dnn6WuluJmEc.cache
loco-rails-1.0.0 test/dummy/tmp/cache/assets/development/sprockets/v3.0/_hq-BHtUE6IBbKedVxoMZx5UD-gn3z4dnn6WuluJmEc.cache
loco-rails-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/v3.0/_hq-BHtUE6IBbKedVxoMZx5UD-gn3z4dnn6WuluJmEc.cache