Sha256: 0f3282013b1cafb30ef18873c83c0607179da01b7f9997b7a2fa70b0aa9af598
Contents?: true
Size: 1.88 KB
Versions: 16
Compression:
Stored size: 1.88 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"5social_networking/resources/profiles-resource.js; FI" pathname; TI"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+¢¿UI"length; TiÐI"digest; TI"%8313e4c9067fcd4add325a8b185a7ef8; FI"source; TI"Ð;(function() { 'use strict'; function Profiles($resource) { var ProfileResource = $resource('/social_networking/profiles/:id', { id: '@id' }, { 'update': {method: 'PUT'} }); var ProfilesResource = $resource('/social_networking/profiles'); function Profile() {} Profile.getAll = function() { return ProfilesResource.query().$promise; }; Profile.getOne = function(id) { return ProfileResource.get({ id: id }).$promise; }; // Update a Goal on the server. Profile.update = function(attributes) { var profile = new ProfileResource(); return profile.$update({ id: attributes.profile.id, icon_name: attributes.iconSrc }); }; return Profile; } angular.module('socialNetworking.services') .service('Profiles', ['$resource', Profiles]); })(); ; TI"dependency_digest; TI"%6e81779e45bb5f76092683eb90c85f2a; FI"required_paths; T[I"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js; FI"dependency_paths; T[{I" path; TI"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js; F@I"2015-08-03T12:17:18-05:00; T@I"%8313e4c9067fcd4add325a8b185a7ef8; FI" _version; TI"%883b724e06f474a3db2deee10c127ab9; F
Version data entries
16 entries across 8 versions & 1 rubygems