Sha256: 8154e621101da3a9cdd72d869eea509970e7459ebc63c85351f72ea922ef3f73
Contents?: true
Size: 1.67 KB
Versions: 8
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"%bc59f9c1fc546d45103b128adb85ec7c; 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"%c04bc203076a02640a508401c471b03e; 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"%bc59f9c1fc546d45103b128adb85ec7c; FI" _version; TI"%069e88c06b889877799890854d7f4c40; F
Version data entries
8 entries across 8 versions & 1 rubygems