Sha256: e1afd24326a8f1e3048ca40cb47ead679e99a69fac4213995e4459ae1306d6a3

Contents?: true

Size: 1.15 KB

Versions: 16

Compression:

Stored size: 1.15 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"5social_networking/resources/comments-resource.js;FI"
pathname;TI"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+¢¿UI"length;TiI"digest;TI"%697ff0f4590c81fce7031654303a1702;FI"source;TI";(function() {
  "use strict";

  // Service for managing remote Comments
  function Comments($resource) {
    var CommentResource = $resource('/social_networking/comments/:id',
      { id: '@id' });

    function Comment() {}

    // Persist a Comment to the server.
    Comment.create = function(attributes) {
      var comment = new CommentResource({
        text: attributes.text,
        itemType: attributes.itemType,
        itemId: attributes.itemId
      });
      return comment.$save();
    };

    return Comment;
  }

  angular.module('socialNetworking.services')
    .service('CommentResource', ['$resource', Comments]);
})();
;TI"required_assets_digest;TI"%d6fc304dbff8510e4e97059a573aa1e1;FI"
_version;TI"%069e88c06b889877799890854d7f4c40;F

Version data entries

16 entries across 8 versions & 1 rubygems

Version Path
social_networking-0.13.1 spec/dummy/tmp/cache/assets/development/sprockets/ed9dbd64fc114919af1d37a3ed8d305d
social_networking-0.13.1 spec/dummy/tmp/cache/assets/development/sprockets/277de9d59013e22103aae7d851243ce3
social_networking-0.13.0 spec/dummy/tmp/cache/assets/development/sprockets/ed9dbd64fc114919af1d37a3ed8d305d
social_networking-0.13.0 spec/dummy/tmp/cache/assets/development/sprockets/277de9d59013e22103aae7d851243ce3
social_networking-0.11.8 spec/dummy/tmp/cache/assets/development/sprockets/277de9d59013e22103aae7d851243ce3
social_networking-0.11.8 spec/dummy/tmp/cache/assets/development/sprockets/ed9dbd64fc114919af1d37a3ed8d305d
social_networking-0.11.5 spec/dummy/tmp/cache/assets/development/sprockets/277de9d59013e22103aae7d851243ce3
social_networking-0.11.5 spec/dummy/tmp/cache/assets/development/sprockets/ed9dbd64fc114919af1d37a3ed8d305d
social_networking-0.11.4 spec/dummy/tmp/cache/assets/development/sprockets/277de9d59013e22103aae7d851243ce3
social_networking-0.11.4 spec/dummy/tmp/cache/assets/development/sprockets/ed9dbd64fc114919af1d37a3ed8d305d
social_networking-0.11.3 spec/dummy/tmp/cache/assets/development/sprockets/277de9d59013e22103aae7d851243ce3
social_networking-0.11.3 spec/dummy/tmp/cache/assets/development/sprockets/ed9dbd64fc114919af1d37a3ed8d305d
social_networking-0.11.0 spec/dummy/tmp/cache/assets/development/sprockets/ed9dbd64fc114919af1d37a3ed8d305d
social_networking-0.11.0 spec/dummy/tmp/cache/assets/development/sprockets/277de9d59013e22103aae7d851243ce3
social_networking-0.10.0 spec/dummy/tmp/cache/assets/development/sprockets/277de9d59013e22103aae7d851243ce3
social_networking-0.10.0 spec/dummy/tmp/cache/assets/development/sprockets/ed9dbd64fc114919af1d37a3ed8d305d