Sha256: 78a92bbb085612e070f89e0a22474be65c0ef47aa305b887a49058de924bd6df
Contents?: true
Size: 1.29 KB
Versions: 49
Compression:
Stored size: 1.29 KB
Contents
I"!(function() { var ConversationCollection, Conversations, 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; Rev.appModel('Conversation', Conversations = (function(superClass) { extend(Conversations, superClass); function Conversations() { return Conversations.__super__.constructor.apply(this, arguments); } Conversations.prototype.url = function() { if (this.id != null) { return "/conversations/" + this.id; } else { return "/conversations"; } }; return Conversations; })(Rev.Model)); Rev.appObject('Collections.Conversations', ConversationCollection = (function(superClass) { extend(ConversationCollection, superClass); function ConversationCollection() { return ConversationCollection.__super__.constructor.apply(this, arguments); } ConversationCollection.prototype.model = App.Models.Conversation; ConversationCollection.prototype.url = "/conversations"; return ConversationCollection; })(Rev.Collection)); }).call(this); :ET
Version data entries
49 entries across 44 versions & 1 rubygems