From 0f3692928a61ead979763ba4373cd298206d94da Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sat, 12 May 2018 12:05:35 +0300 Subject: [PATCH] chore(files) function -> arrow --- client/dom/files.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/dom/files.js b/client/dom/files.js index 44e9f7e1..2b11392b 100644 --- a/client/dom/files.js +++ b/client/dom/files.js @@ -134,7 +134,7 @@ function getConfig(callback) { }); }); - Promises.config.then(function(data) { + Promises.config.then((data) => { is = false; Storage.setAllowed(data.localStorage); @@ -144,7 +144,7 @@ function getConfig(callback) { if (!is) Promises.config = null; }); - }, function() { + }, () => { if (!is) Promises.config = null; });