Sha256: 743676a77b44a7ccef77b2065945d57d98a7603752e5d0372975623ff40a53c8

Contents?: true

Size: 1.82 KB

Versions: 8

Compression:

Stored size: 1.82 KB

Contents

{:uriI"file:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/likes-resource.js?type=application/javascript&pipeline=self&id=f5e7b37f57c80caa1abdc4357db54fd19cdaa75616aa66434c6e145718329ae2: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/likes-resource.js;T:	nameI"/social_networking/resources/likes-resource;T:logical_pathI"7social_networking/resources/likes-resource.self.js;T:content_typeI"application/javascript;T:sourceI"=;(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]);
})();
;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/likes-resource.js;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%bA|z[Ԅ
"nPFxs8:lengthi=:dependencies_digest"%y_^B0u{)kw#cH5:.:idI"Ef5e7b37f57c80caa1abdc4357db54fd19cdaa75616aa66434c6e145718329ae2;F:
mtimel+U

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
social_networking-0.13.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K0yiIL29rl217VR0FTlxu9_RgUH0wOaxaYxgg-O-TDU.cache
social_networking-0.13.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K0yiIL29rl217VR0FTlxu9_RgUH0wOaxaYxgg-O-TDU.cache
social_networking-0.11.8 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K0yiIL29rl217VR0FTlxu9_RgUH0wOaxaYxgg-O-TDU.cache
social_networking-0.11.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K0yiIL29rl217VR0FTlxu9_RgUH0wOaxaYxgg-O-TDU.cache
social_networking-0.11.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K0yiIL29rl217VR0FTlxu9_RgUH0wOaxaYxgg-O-TDU.cache
social_networking-0.11.3 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K0yiIL29rl217VR0FTlxu9_RgUH0wOaxaYxgg-O-TDU.cache
social_networking-0.11.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K0yiIL29rl217VR0FTlxu9_RgUH0wOaxaYxgg-O-TDU.cache
social_networking-0.10.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/K0yiIL29rl217VR0FTlxu9_RgUH0wOaxaYxgg-O-TDU.cache