{I" class:ETI"BundledAsset;FI"logical_path;TI"$social_networking/directives.js;FI" pathname;TI"e/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/directives.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+æ#\TI" length;TiâI" digest;TI"%c5a4066920961cf6670d8b7b0bce193f;FI" source;TI"â;(function() { "use strict"; // Displays pertinent information about a profile. function profileStatus() { return { template: '

{{ profile.username }}

' + '

Last seen: {{ profile.latestAction | timeFromNow }}

' }; } // Listen for 'focusOn' event and focus on the input. function focusOn() { return function(scope, elem, attr) { return scope.$on('focusOn', function(e, name) { if (name === attr.focusOn) { return elem[0].focus(); } }); }; } // Create a module and register the directives. angular.module('socialNetworking.directives', []) .directive('profileStatus', profileStatus) .directive('focusOn', focusOn); })(); ;TI"required_assets_digest;TI"%4e47ef1b00d7e6638fc9e3c32a8ff0b6;FI" _version;TI"%b910479f035fc02c55a3e167aaa8a0b8;F