From 58c7ba5cc46e90c79f3404933e5feba9562531d7 Mon Sep 17 00:00:00 2001 From: John Gruen Date: Mon, 20 Feb 2017 21:39:01 -0500 Subject: [PATCH] fix linter errors --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index f01122f..779e484 100644 --- a/index.js +++ b/index.js @@ -243,22 +243,22 @@ const ContainerService = { color: "", name: "Pending to be deleted", public: true, - } + }; } return identity; } - let oldGetIdentityFromId = ContextualIdentityService.getIdentityFromId; + const oldGetIdentityFromId = ContextualIdentityService.getIdentityFromId; ContextualIdentityService.getIdentityFromId = function(userContextId) { return workaroundForCookieManager(oldGetIdentityFromId, userContextId); - } + }; if ("getPublicIdentityFromId" in ContextualIdentityService) { - let oldGetPublicIdentityFromId = ContextualIdentityService.getIdentityFromId; + const oldGetPublicIdentityFromId = ContextualIdentityService.getIdentityFromId; ContextualIdentityService.getIdentityFromId = function(userContextId) { return workaroundForCookieManager(oldGetPublicIdentityFromId, userContextId); - } + }; } // End-Of-Hack },