{:uriI"èfile:///Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/controllers/participant-controller.js?type=application/javascript&pipeline=self&id=7567eba4fea95faa676fc9e5221fcc548d34343dba6505faf82cb2ebeaa2009d:ET:load_pathI"@/Users/ericcf/work/social_networking/app/assets/javascripts;T: filenameI"x/Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/controllers/participant-controller.js;T: nameI"9social_networking/controllers/participant-controller;T:logical_pathI"Asocial_networking/controllers/participant-controller.self.js;T:content_typeI"application/javascript;T: sourceI"};(function() { "use strict"; // Provide interaction with a participant's profile. function ParticipantCtrl(participantId, Participants, Nudges) { var self = this; this._nudges = Nudges; Participants.getOne(participantId) .then(function(participant) { self.id = participant.id; self.username = participant.username; self.latestAction = participant.latestAction; }) .catch(function(error) { window.console.log(error); }); this.responses = [{ question: 'foo?', text: 'bar' }]; } // Send a nudge from one participant to another. ParticipantCtrl.prototype.nudge = function() { this._nudges.create({ recipient: this }); }; // Initiate profile editor interface. ParticipantCtrl.prototype.edit = function() { window.console.log("edit"); }; // Create a module and register the controllers. angular.module('socialNetworking.controllers') .controller('ParticipantCtrl', ['participantId', 'Participants', 'Nudges', ParticipantCtrl]); })(); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/controllers/participant-controller.js;TTF:map['{; I"social_networking/controllers/participant-controller.source-613a3619b235778113e87e6da16dc5c0309fc1115c5d8c03a1268ba8f792af92.js;T:generated[ii: original[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[i i;[i i{; @;[i i;[i i{; @;[i i;[i i{; @;[i i;[i i{; @;[i i;[i i{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[ii;[ii{; @;[i i;[i i{; @;[i!i;[i!i{; @;[i"i;[i"i{; @;[i#i;[i#i{; @;[i$i;[i$i{; @;[i%i;[i%i{; @;[i&i;[i&i{; @;[i'i;[i'i: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%a:6²5wè~m¡mÅÀ0ŸÁ\]Œ¡&‹¨÷’¯’: lengthi}:dependencies_digest"%»ı_ºªƒ6C\M#MBüF#l4$¡Œ¥#èÖÇÖ:idI"E7567eba4fea95faa676fc9e5221fcc548d34343dba6505faf82cb2ebeaa2009d;F