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

Version Path
revelry_core-0.1.14.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/D6-tHGiX4GsZQt5U0QIePlItKOWpmK6yp62Vuc988AM.cache
revelry_core-0.1.13.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/D6-tHGiX4GsZQt5U0QIePlItKOWpmK6yp62Vuc988AM.cache
revelry_core-0.1.12.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.12.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.12.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.12.3 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.12.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.12.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.11.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.11.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.11.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.11.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.11.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.10.7 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.10.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.10.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.10.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.10.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EY9Nia4eypo6HzS9lsSdjSZIzZIZugOU4vQzzH_NSS8.cache
revelry_core-0.1.10.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eYvRawEFItS5pfWyGqQdX7l7LXDwGnkiqKLDjIMeNXs.cache
revelry_core-0.1.10.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eYvRawEFItS5pfWyGqQdX7l7LXDwGnkiqKLDjIMeNXs.cache