Sha256: d7691314fbe93c4d5529fdbc96ec2739e113c4f152d7d4150a1cead99085a209
Contents?: true
Size: 1.08 KB
Versions: 16
Compression:
Stored size: 1.08 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"2social_networking/resources/likes-resource.js; FI" pathname; TI"}/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/likes-resource.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+ążUI"length; Ti=I"digest; TI"%d16a556d6ee1b7048c8f26cdae7be3fe; FI"source; TI"=;(function() { "use strict"; // Service for managing remote Likes. function Likes($resource) { var LikeResource = $resource('/social_networking/likes/:id', { id: '@id' }); function Like() {} // Persist a Like to the server. Like.create = function(attributes) { var like = new LikeResource({ itemType: attributes.itemType, itemId: attributes.itemId }); return like.$save(); }; return Like; } angular.module('socialNetworking.services') .service('LikeResource', ['$resource', Likes]); })(); ; TI"required_assets_digest; TI"%fec169364fa4571011f25860bf66b19d; FI" _version; TI"%069e88c06b889877799890854d7f4c40; F
Version data entries
16 entries across 8 versions & 1 rubygems