Sha256: 04c490dc7e556d8397ed11511951bc4fc897741c8da13660b8c5f6da660fcdcd
Contents?: true
Size: 1.53 KB
Versions: 8
Compression:
Stored size: 1.53 KB
Contents
{I" class:ETI"ProcessedAsset; 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"%5cf815afeb5f57a2764e182bc0d94962; FI"source; TI"â;(function() { "use strict"; // Displays pertinent information about a profile. function profileStatus() { return { template: '<h2>{{ profile.username }}</h2>' + '<h3>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"%11072940eec885a82a81464ba865ff9f; FI"required_paths; T[I"e/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/directives.js; FI"dependency_paths; T[{I" path; TI"e/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/directives.js; F@I"2014-11-06T19:44:06-06:00; T@I"%5cf815afeb5f57a2764e182bc0d94962; FI" _version; TI"%883b724e06f474a3db2deee10c127ab9; F
Version data entries
8 entries across 4 versions & 1 rubygems