Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit c3b9869

Browse files
committed
style(phone-list.directive.js): change code indentation
1 parent ef06bde commit c3b9869

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

app/phone-list/phone-list.directive.js

+15-15
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ angular.
2323
}
2424
}
2525
]).
26-
directive('informOrder', [function () {
27-
var ariaStatusSort = document.querySelector('.aria-status-sort');
28-
return {
29-
restrict: 'A',
30-
link: function ($scope) {
31-
$scope.$watch('$ctrl.orderProp', function (order) {
32-
if(order === 'age') {
33-
ariaStatusSort.innerHTML = 'Items filter by newest'
34-
} else {
35-
ariaStatusSort.innerHTML = 'Items filter by alphabetical order'
36-
}
37-
38-
});
26+
directive('informOrder', [function () {
27+
var ariaStatusSort = document.querySelector('.aria-status-sort');
28+
return {
29+
restrict: 'A',
30+
link: function ($scope) {
31+
$scope.$watch('$ctrl.orderProp', function (order) {
32+
if(order === 'age') {
33+
ariaStatusSort.innerHTML = 'Items filter by newest'
34+
} else {
35+
ariaStatusSort.innerHTML = 'Items filter by alphabetical order'
36+
}
37+
38+
});
39+
}
3940
}
40-
}
41-
}
41+
}
4242
]);

0 commit comments

Comments
 (0)