Total Complexity | 3 |
Complexity/F | 1 |
Lines of Code | 16 |
Function Count | 3 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /** |
||
22 | (function () { |
||
23 | 'use strict'; |
||
24 | |||
25 | /** |
||
26 | * @ngdoc directive |
||
27 | * @name passmanApp.directive:passwordGen |
||
28 | * @description |
||
29 | * # passwordGen |
||
30 | */ |
||
31 | angular.module('passmanExtension') |
||
32 | .directive('autoFocus', function () { |
||
33 | return function (scope, element) { |
||
34 | element.focus(); |
||
35 | }; |
||
36 | }); |
||
37 | }()); |