Skip to content

Commit

Permalink
Prettier cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
the-bay-kay committed Nov 6, 2023
1 parent 000f08d commit 71bee6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion www/__tests__/unifiedDataLoader.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
*/
10 changes: 1 addition & 9 deletions www/js/diary/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion www/js/services/unifiedDataLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ export const getUnifiedDataForInterval = function (
});
const promiseList = [getPromise, remotePromise];
return combinedPromises(promiseList, removeDup);
};
};

0 comments on commit 71bee6f

Please sign in to comment.