Sha256: b14bfb20f59a8e184a72824ebd61981af4a59f1b650809a957a0ca073ce47a90
Contents?: true
Size: 1.9 KB
Versions: 8
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=18557059fa305432b74a884978d8020f977214001dd2cdb0d778498bb60aa7b0: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"%^mof,;`y1hZW:idI"E18557059fa305432b74a884978d8020f977214001dd2cdb0d778498bb60aa7b0;F: mtimel+U
Version data entries
8 entries across 8 versions & 1 rubygems