fix linter errors

This commit is contained in:
John Gruen 2017-02-20 21:39:01 -05:00
parent 282037b53c
commit 58c7ba5cc4

View file

@ -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
},