Sha256: 7f371a4b179b362825f5040169a3e490211022276d62b47ed0ece834a6a083c5
Contents?: true
Size: 1.9 KB
Versions: 7
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=7835ca9d557897be5ba2699843056804ce86c06a822933ce5d830d3d929cfea0: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'e0s\z(:*z :lengthi:dependencies_digest"%ܞ&@m@쵲v 7,׀ P:idI"E7835ca9d557897be5ba2699843056804ce86c06a822933ce5d830d3d929cfea0;F: mtimel+U
Version data entries
7 entries across 7 versions & 1 rubygems