Sha256: 6cdc228e0fb9a66a090ba8c4d05c67273ead98d55bbc856435da2f586f254820

Contents?: true

Size: 1.52 KB

Versions: 4

Compression:

Stored size: 1.52 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"5social_networking/resources/comments-resource.js;FI"
pathname;TI"v/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+æ#\TI"length;Ti‚I"digest;TI"%2614f58c6e95fc82ba9d1d1dadafc14e;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"dependency_digest;TI"%3d17fa3b09dde3842fb5488ccec687a8;FI"required_paths;T[I"v/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js;FI"dependency_paths;T[{I"	path;TI"v/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js;FI"
mtime;TI"2014-11-06T19:44:06-06:00;TI"digest;TI"%2614f58c6e95fc82ba9d1d1dadafc14e;FI"
_version;TI"%b910479f035fc02c55a3e167aaa8a0b8;F

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
social_networking-0.11.7 spec/dummy/tmp/cache/assets/development/sprockets/5694259c324c96bc8fbbf9f7c135789b
social_networking-0.11.6 spec/dummy/tmp/cache/assets/development/sprockets/5694259c324c96bc8fbbf9f7c135789b
social_networking-0.11.2 spec/dummy/tmp/cache/assets/development/sprockets/5694259c324c96bc8fbbf9f7c135789b
social_networking-0.11.1 spec/dummy/tmp/cache/assets/development/sprockets/5694259c324c96bc8fbbf9f7c135789b