Sha256: 1119bef4ee9120f2f4e6347ab3308d3a355042c7f0609724f072a7459f533bd9

Contents?: true

Size: 1.9 KB

Versions: 3

Compression:

Stored size: 1.9 KB

Contents

{:uriI"�file:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js?type=application/javascript&pipeline=self&id=ab1be0b46e96ec62efc44e3d4660ecfee1dadfd9c46d4fa06edbff097d673638:ET:load_pathI"T/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts;T:
filenameI"�/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js;T:	nameI"2social_networking/resources/comments-resource;T:logical_pathI":social_networking/resources/comments-resource.self.js;T:content_typeI"application/javascript;T:sourceI"�;(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]);
})();
;T:
metadata{:dependencieso:Set:
@hash{	I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%��Ȁ����M
Z'e0�s\��z(���:*z� :lengthi�:dependencies_digest"%EE!�
����|a,T,RO�"7���&3�:idI"Eab1be0b46e96ec62efc44e3d4660ecfee1dadfd9c46d4fa06edbff097d673638;F:
mtimel+��U

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_networking-0.11.3 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gOrzSkcywSrnRAgIBdlBZbC2Ohv13kSE4bNIHGOP77A.cache
social_networking-0.11.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gOrzSkcywSrnRAgIBdlBZbC2Ohv13kSE4bNIHGOP77A.cache
social_networking-0.10.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gOrzSkcywSrnRAgIBdlBZbC2Ohv13kSE4bNIHGOP77A.cache