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.List = (function(superClass) { extend(List, superClass); function List(opts) { if (opts == null) { opts = {}; } List.__super__.constructor.call(this, opts); this.users = opts.users; } List.prototype.render = function() { return $("table tbody").empty(); }; List.prototype.renderUsers = function(users, order) { var i, len, results, user; if (order == null) { order = 'append'; } results = []; for (i = 0, len = users.length; i < len; i++) { user = users[i]; if (order === 'append') { results.push($("table").append(JST["templates/admin/users/user"]({ user: user }))); } else { results.push($("table").prepend(JST["templates/admin/users/user"]({ user: user }))); } } return results; }; return List; })(App.Views.Base); }).call(this); :ET