Sha256: de0edca02dbd7b40df3a260ba0c04534762596143684e2a6f4623dd555cbac54
Contents?: true
Size: 1.47 KB
Versions: 16
Compression:
Stored size: 1.47 KB
Contents
{I" class:ETI"ProcessedAsset; 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"%6b762ee861136ec52d1ced0caadac307; 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"dependency_digest; TI"%5c64e51994386760930da66edcf5ae6d; FI"required_paths; T[I"}/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/likes-resource.js; FI"dependency_paths; T[{I" path; TI"}/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/likes-resource.js; F@I"2015-08-03T12:17:18-05:00; T@I"%6b762ee861136ec52d1ced0caadac307; FI" _version; TI"%883b724e06f474a3db2deee10c127ab9; F
Version data entries
16 entries across 8 versions & 1 rubygems