Sha256: 6a528fa5cadba6b946c9eb427727a1806ce71b2e615fb3de8855939ca0be6e6c
Contents?: true
Size: 1.55 KB
Versions: 16
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"%24cb68510cd687d446a60ff7147a585b; 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"%bd51568890dd805d9c09c62dd50e46de; 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"%24cb68510cd687d446a60ff7147a585b; FI" _version; TI"%883b724e06f474a3db2deee10c127ab9; F
Version data entries
16 entries across 8 versions & 1 rubygems