Use fat arrow functions const foo = () => { ... }; for callbacks

and any other function that is passed around and it's not a top level function
This commit is contained in:
Juanjo Diaz
2018-07-09 22:47:29 +02:00
parent 0e4808bf6f
commit 651c23ece3
28 changed files with 177 additions and 191 deletions
+4 -1
View File
@@ -2,7 +2,10 @@
// native support in the browsers, so that our error handler
// can catch script-loading errors.
(function(){
// No ES6 can be used in this file since it's used for the translation
/* eslint-disable prefer-arrow-callback */
(function() {
"use strict";
// Fallback for all uncought errors