Sha256: c634470cb2e99c5557ea8051fa7e4d431b8c5e0353519397292593864ca457ce
Contents?: true
Size: 1.55 KB
Versions: 8
Compression:
Stored size: 1.55 KB
Contents
{I" class:ETI"ProcessedAsset; 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"dependency_digest; TI"%d6fc304dbff8510e4e97059a573aa1e1; FI"required_paths; T[I"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js; FI"dependency_paths; T[{I" path; TI"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js; F@I"2015-08-03T12:17:18-05:00; T@I"%697ff0f4590c81fce7031654303a1702; FI" _version; TI"%069e88c06b889877799890854d7f4c40; F
Version data entries
8 entries across 8 versions & 1 rubygems