{:uriI"žfile://app/assets/javascripts/models/user.coffee?type=application/javascript&pipeline=self&id=86ec12410127676e7ac1343ee76bd226399f60fef4521dad112c7c71247a8db7:ET:load_pathI"app/assets/javascripts;T: filenameI".app/assets/javascripts/models/user.coffee;T: nameI"models/user;T:logical_pathI"models/user.self.js;T:content_typeI"application/javascript;T: sourceI"þ(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.Models.User = (function(superClass) { extend(User, superClass); User.identity = "User"; User.resources = { url: "/users", admin: { url: "/admin/users" } }; User.paginate = { per: 10 }; User.attributes = { email: { validations: { presence: true, format: { "with": /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i } } }, username: { validations: { presence: true, format: { "with": /^[a-z][a-z0-9_\-]*$/i } } }, password: { validations: { presence: { on: "create" }, confirmation: true } }, passwordConfirmation: { remoteName: "password_confirmation" }, confirmed: {}, createdAt: { type: "Date", remoteName: "created_at" }, updatedAt: { type: "Date", remoteName: "updated_at" } }; User.receivedSignal = function(signal, data) { return console.log("App.Models.User.receivedSignal: " + signal); }; function User(data) { User.__super__.constructor.call(this, data); } User.prototype.receivedSignal = function(signal, data) { return console.log("App.Models.User#receivedSignal: " + signal); }; return User; })(App.Models.Base); }).call(this); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"