Sha256: 13426487b8c15dc16c57a120edb03afc7276e29e5b16ab1e238c2ce97fb3ce54
Contents?: true
Size: 1.82 KB
Versions: 2
Compression:
Stored size: 1.82 KB
Contents
{:uriI"�file:///Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js?type=application/javascript&pipeline=self&id=7fe3c8ad62d36b0e40f710f514bea87885d733503b0e8daa9afe05ac8c39f3e7:ET:load_pathI"@/Users/ericcf/work/social_networking/app/assets/javascripts;T: filenameI"q/Users/ericcf/work/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/ericcf/work/social_networking/app/assets/javascripts/social_networking/resources/comments-resource.js;TTF: requiredo;;}F:stubbedo;;}F: linkso;;}F:charsetI" utf-8;F:digest"%��Ȁ����M Z'e0�s\��z(���:*z� :lengthi�:dependencies_digest"%�u'XD�yK�V��A�`o}o�y��.�7~ѽ2Y:idI"E7fe3c8ad62d36b0e40f710f514bea87885d733503b0e8daa9afe05ac8c39f3e7;F: mtimel+a�3W
Version data entries
2 entries across 2 versions & 1 rubygems