diff options
author | Juanjo Diaz <juanjo.diazmo@gmail.com> | 2018-07-09 22:47:29 +0200 |
---|---|---|
committer | Juanjo Diaz <juanjo.diazmo@gmail.com> | 2018-07-12 19:06:57 +0200 |
commit | 651c23ece37c1749936d2eb97939d121887720b9 (patch) | |
tree | 109df665d15f8620504936f58b10b6f42b5405fb /karma.conf.js | |
parent | 0e4808bf6f3165f7daa1282af445f6ea7e60de55 (diff) | |
download | novnc-651c23ece37c1749936d2eb97939d121887720b9.tar.gz |
Use fat arrow functions `const foo = () => { ... };` for callbacks
and any other function that is passed around and it's not a top level function
Diffstat (limited to 'karma.conf.js')
-rw-r--r-- | karma.conf.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/karma.conf.js b/karma.conf.js index 9727c4c..f0a1343 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,6 +1,6 @@ // Karma configuration -module.exports = function(config) { +module.exports = (config) => { const customLaunchers = {}; let browsers = []; let useSauce = false; |