chore(files) function -> arrow

This commit is contained in:
coderaiser 2018-05-12 12:05:35 +03:00
parent 5f86875ef2
commit 0f3692928a

View file

@ -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;
});