Sha256: c5b6ea931e43f77f98d9b03bdbb08324070f4ab37125c5b8c5dd0d69d60f56aa
Contents?: true
Size: 1.67 KB
Versions: 16
Compression:
Stored size: 1.67 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"$social_networking/directives.js; FI" pathname; TI"t/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/directives.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+µVI"length; Ti@I"digest; TI"%b87eebbfc8e08dd2ecbfaa65c34f5f1e; FI"source; TI"@;(function() { "use strict"; // Displays pertinent information about a profile. function profileStatus() { return { template: '<h2>{{ profile.username }}</h2>' + '<h3 ng-class="profile.isAdmin ? \'invisible\' : \'\'">' + 'Last seen: {{ profile.latestAction | timeFromNow }}' + '</h3>' }; } // 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"dependency_digest; TI"%e135bdcd70593427247118de17e42df4; FI"required_paths; T[I"t/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/directives.js; FI"dependency_paths; T[{I" path; TI"t/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/directives.js; F@I"2015-10-06T14:06:29-05:00; T@I"%b87eebbfc8e08dd2ecbfaa65c34f5f1e; FI" _version; TI"%883b724e06f474a3db2deee10c127ab9; F
Version data entries
16 entries across 8 versions & 1 rubygems