{I" class:ETI"ProcessedAsset;FI"logical_path;TI">social_networking/services/profile-answer-tool-service.js;FI" pathname;TI"‰/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/profile-answer-tool-service.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+¢¿UI" length;Ti1I" digest;TI"%3286940d3bf57494826438cba938572f;FI" source;TI"1;(function() { 'use strict'; function ProfileAnswerToolService(focus) { function ProfileAnswerTool() {} ProfileAnswerTool.prototype.MODES = { BROWSE: 0, ENTRY: 1 }; ProfileAnswerTool.prototype.edit = function(answer) { this.setModel(answer); this.setMode(this.MODES.ENTRY); focus('new-answer'); }; ProfileAnswerTool.prototype.getMode = function() { return this._mode; }; ProfileAnswerTool.prototype.setMode = function(mode) { this._mode = mode; }; ProfileAnswerTool.prototype.setModel = function(answer) { this._answerModel.id = answer.id; this._answerModel.profile_id = answer.profile_id; this._answerModel.profile_question_id = answer.profile_question_id; this._answerModel.answer_text = answer.answer_text; }; ProfileAnswerTool.prototype.getModel = function() { return this._answerModel; }; ProfileAnswerTool.prototype.setTab = function(name) { this._tab = name; }; ProfileAnswerTool.prototype.getTab = function() { return this._tab; }; ProfileAnswerTool.prototype._mode = ProfileAnswerTool.prototype.MODES.BROWSE; ProfileAnswerTool.prototype._currentFilter = {}; ProfileAnswerTool.prototype._answerModel = {}; ProfileAnswerTool.prototype._tab = 'all'; return new ProfileAnswerTool(); } angular.module('socialNetworking.services') .service('answerTool', ['focus', ProfileAnswerToolService]); })(); ;TI"dependency_digest;TI"%975e6469642dd3b76050d39c1b2c85dd;FI"required_paths;T[I"‰/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/profile-answer-tool-service.js;FI"dependency_paths;T[{I" path;TI"‰/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/profile-answer-tool-service.js;F@I"2015-08-03T12:17:18-05:00;T@I"%3286940d3bf57494826438cba938572f;FI" _version;TI"%883b724e06f474a3db2deee10c127ab9;F