Sha256: d00e058f4c9dc2f7c61bb63ee5ebcf85faa6b5de8e9c22cac041f7c745bc2435

Contents?: true

Size: 1.19 KB

Versions: 49

Compression:

Stored size: 1.19 KB

Contents

I"¹(function() {
  var Message, MessagesCollection,
    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('Message', Message = (function(superClass) {
    extend(Message, superClass);

    function Message() {
      return Message.__super__.constructor.apply(this, arguments);
    }

    Message.prototype.url = function() {
      if (this.id != null) {
        return "/messages/" + this.id;
      } else {
        return "/messages";
      }
    };

    return Message;

  })(Rev.Model));

  Rev.appObject('Collections.Messages', MessagesCollection = (function(superClass) {
    extend(MessagesCollection, superClass);

    function MessagesCollection() {
      return MessagesCollection.__super__.constructor.apply(this, arguments);
    }

    MessagesCollection.prototype.model = App.Models.Message;

    MessagesCollection.prototype.url = "/messages";

    return MessagesCollection;

  })(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/M-4KPae31sSNMyd_yvcEx9THW7lyi0yKKO8FuxS2Nr4.cache
revelry_core-0.1.13.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/M-4KPae31sSNMyd_yvcEx9THW7lyi0yKKO8FuxS2Nr4.cache
revelry_core-0.1.12.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.12.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.12.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.12.3 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.12.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.12.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.11.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.11.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.11.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.11.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.11.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.10.7 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.10.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.10.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.10.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.10.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/0O6D2y8HA0lFk8rJyZ6iq39YZ1L0CBaspbiyXisNuPU.cache
revelry_core-0.1.10.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache
revelry_core-0.1.10.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OVdkLKSdnXqRcgnqFWJ93R8F92LeuGbyQe_Ke8tapeo.cache