From a3ce48f14f08bd43b0a9ccfe8d22b70d6d1c0a1b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 14 Apr 2017 15:14:53 +0300 Subject: [PATCH] refactor(storage) rm unused: isAllowed --- client/dom/storage.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client/dom/storage.js b/client/dom/storage.js index 994c8c01..84e08b2d 100644 --- a/client/dom/storage.js +++ b/client/dom/storage.js @@ -7,11 +7,6 @@ const exec = require('execon'); /* приватный переключатель возможности работы с кэшем */ let Allowed; -/* функция проверяет возможно ли работать с кэшем каким-либо образом */ -module.exports.isAllowed = () => { - return Allowed && !!localStorage; -}; - /** * allow Storage usage */