Skip to content

Commit 1066f73

Browse files
WilliamBZAWojcikMike
authored andcommitted
Switch from arrow functions (#630)
1 parent 8c00c06 commit 1066f73

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/ServicePulse.Host/app/js/views/archive/controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@
7474
vm.loadingData = false;
7575
};
7676

77-
var saveSelectedArchiveGroup = (amount, unit) => {
77+
var saveSelectedArchiveGroup = function (amount, unit) {
7878
$cookies.put('archive_amount', amount);
7979
$cookies.put('archive_unit', unit);
8080
};
8181

82-
var getSelectedArchiveGroup = () => {
82+
var getSelectedArchiveGroup = function () {
8383
var amount = $cookies.get("archive_amount");
8484
var unit = $cookies.get("archive_unit");
8585

src/ServicePulse.Host/app/js/views/failed_messages/controller.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@
111111
toastService.showInfo(messageId + ' copied to clipboard');
112112
};
113113

114-
115-
116114
vm.retrySelected = function () {
117115
toastService.showInfo("Retrying " + vm.selectedIds.length + " messages...");
118116
serviceControlService.retryFailedMessages(vm.selectedIds)

src/ServicePulse.Host/app/js/views/message/controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
}
8383

8484
function getContentType(headers) {
85-
return headers.find((element) => element.key === 'NServiceBus.ContentType').value;
85+
return headers.find(function (element) { return element.key === 'NServiceBus.ContentType'; }).value;
8686
}
8787

8888
vm.retryMessage = function () {

0 commit comments

Comments
 (0)