Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit ed3215f

Browse files
author
Nick Litwin
committed
Rename directive
1 parent 055aba4 commit ed3215f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/directives/account/toggle-password/toggle-password.directive.js renamed to app/directives/account/toggle-password-with-tips/toggle-password-with-tips.directive.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
(function() {
22
'use strict';
33

4-
angular.module('tcUIComponents').directive('togglePassword', togglePassword);
4+
angular.module('tcUIComponents').directive('togglePasswordWithTips', togglePasswordWithTips);
55

6-
function togglePassword() {
6+
function togglePasswordWithTips() {
77
return {
88
restrict: 'E',
99
require: '^form',
10-
templateUrl: 'directives/account/toggle-password/toggle-password.html',
10+
templateUrl: 'directives/account/toggle-password-with-tips/toggle-password-with-tips.html',
1111
link: function(scope, element, attrs, formController) {
1212
var vm = scope.vm;
1313
vm.passwordField = formController.password;

app/directives/account/toggle-password/toggle-password.spec.js renamed to app/directives/account/toggle-password-with-tips/toggle-password-with-tips.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* jshint -W117, -W030 */
2-
describe('Toggle Password Directive', function() {
2+
describe('Toggle Password With Tips Directive', function() {
33
var scope;
44
var element;
55
// var challenge = mockData.getMockChallengeWithUserDetails();

0 commit comments

Comments
 (0)