// Generated by CoffeeScript 1.6.2 (function() { var __hasProp = {}.hasOwnProperty, __extends = 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; }; define(['backbone', 'models/user/userItem', 'app.lib/backbone.dss.model.collection'], function(Backbone, UserItem, DssCollection) { var UserCollection, _ref; UserCollection = (function(_super) { __extends(UserCollection, _super); function UserCollection() { _ref = UserCollection.__super__.constructor.apply(this, arguments); return _ref; } UserCollection.prototype.model = UserItem; UserCollection.prototype.url = com.podnoms.settings.urlRoot + "user/"; UserCollection.prototype._columns = [ { property: 'toponymName', label: 'Name', sortable: true }, { property: 'uploads', label: 'Uploads', sortable: true }, { property: 'likes', label: 'Likes', sortable: true }, { property: 'favourites', label: 'Favourites', sortable: true }, { property: 'followers', label: 'Followers', sortable: true }, { property: 'following', label: 'Following', sortable: true }, { property: 'lastseen', label: 'Last seen', sortable: true } ]; UserCollection.prototype.columns = function() { return this._columns; }; UserCollection.prototype.data = function() { return this.toJSON; }; return UserCollection; })(DssCollection); return UserCollection; }); }).call(this);