Sha256: b221ec4b0300ee53ef96021f38ae1a63bf6a2b35ccee90991e4bcef12d13c36c

Contents?: true

Size: 1.11 KB

Versions: 60

Compression:

Stored size: 1.11 KB

Contents

I"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.Users.Show = (function(superClass) {
    extend(Show, superClass);

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

    Show.prototype.render = function(user) {
      this.user = user;
      $("#user_email").text(this.user.email);
      $("#user_username").text(this.user.username);
      $("#user_confirmed").text(this.user.confirmed ? "Yes" : "No");
      return this._updateEditLink();
    };

    Show.prototype._updateEditLink = function() {
      var href;
      href = $("#edit_link").attr("href");
      return $("#edit_link").attr("href", href.replace("/0/", "/" + this.user.id + "/"));
    };

    return Show;

  })(App.Views.Base);

}).call(this);
:ET

Version data entries

60 entries across 27 versions & 1 rubygems

Version Path
loco-rails-3.0.3 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.5.3 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.5.2 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-3.0.2 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-3.0.1 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.5.1 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.5.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.4.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rD/rDhR0u318CWQGHE58Mwh0pBgMU_VTsvLzrtlf5JF4RE.cache
loco-rails-2.4.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.3.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.3.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rD/rDhR0u318CWQGHE58Mwh0pBgMU_VTsvLzrtlf5JF4RE.cache
loco-rails-3.0.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rD/rDhR0u318CWQGHE58Mwh0pBgMU_VTsvLzrtlf5JF4RE.cache
loco-rails-3.0.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.2.2 test/dummy/tmp/cache/assets/sprockets/v3.0/rD/rDhR0u318CWQGHE58Mwh0pBgMU_VTsvLzrtlf5JF4RE.cache
loco-rails-2.2.2 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.2.1 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.2.1 test/dummy/tmp/cache/assets/sprockets/v3.0/rD/rDhR0u318CWQGHE58Mwh0pBgMU_VTsvLzrtlf5JF4RE.cache
loco-rails-2.2.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache
loco-rails-2.2.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rD/rDhR0u318CWQGHE58Mwh0pBgMU_VTsvLzrtlf5JF4RE.cache
loco-rails-2.1.0 test/dummy/tmp/cache/assets/sprockets/v3.0/rj/RjXKQ7oChLL8WcYe4jD5hddFPCmv2YJlYl7QhXu1Gq0.cache