Sha256: 1d85709805b9072231c1e1af1e7ea37c442e039324fc74b1fdf63320122a0c17
Contents?: true
Size: 1.83 KB
Versions: 8
Compression:
Stored size: 1.83 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"5social_networking/resources/profiles-resource.js; FI" pathname; TI"v/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+æ#\TI"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"v/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js; FI"dependency_paths; T[{I" path; TI"v/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js; F@I"2014-11-06T19:44:06-06:00; T@I"%8313e4c9067fcd4add325a8b185a7ef8; FI" _version; TI"%883b724e06f474a3db2deee10c127ab9; F
Version data entries
8 entries across 4 versions & 1 rubygems