From 71bee6f58681426ec87fb8dd2a5595451490177a Mon Sep 17 00:00:00 2001 From: Katie Rischpater <98350084+the-bay-kay@users.noreply.github.com> Date: Mon, 6 Nov 2023 15:03:14 -0800 Subject: [PATCH] Prettier cleanup --- www/__tests__/unifiedDataLoader.test.ts | 2 +- www/js/diary/services.js | 10 +--------- www/js/services/unifiedDataLoader.ts | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/www/__tests__/unifiedDataLoader.test.ts b/www/__tests__/unifiedDataLoader.test.ts index c31172d0c..57b1023da 100644 --- a/www/__tests__/unifiedDataLoader.test.ts +++ b/www/__tests__/unifiedDataLoader.test.ts @@ -147,4 +147,4 @@ it('works with arrays of len >= 2', async () => { /* TO-DO: Once getRawEnteries can be tested via end-to-end testing, we will be able to test getUnifiedDataForInterval as well. -*/ \ No newline at end of file +*/ diff --git a/www/js/diary/services.js b/www/js/diary/services.js index 7d746fc94..1c63bf18d 100644 --- a/www/js/diary/services.js +++ b/www/js/diary/services.js @@ -10,15 +10,7 @@ angular .module('emission.main.diary.services', ['emission.plugin.logger', 'emission.services']) .factory( 'Timeline', - function ( - $http, - $ionicLoading, - $ionicPlatform, - $window, - $rootScope, - Logger, - $injector, - ) { + function ($http, $ionicLoading, $ionicPlatform, $window, $rootScope, Logger, $injector) { var timeline = {}; // corresponds to the old $scope.data. Contains all state for the current // day, including the indication of the current day diff --git a/www/js/services/unifiedDataLoader.ts b/www/js/services/unifiedDataLoader.ts index 8a91d3587..8ab4ad2f9 100644 --- a/www/js/services/unifiedDataLoader.ts +++ b/www/js/services/unifiedDataLoader.ts @@ -65,4 +65,4 @@ export const getUnifiedDataForInterval = function ( }); const promiseList = [getPromise, remotePromise]; return combinedPromises(promiseList, removeDup); -}; \ No newline at end of file +};