mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-20 13:27:17 +00:00

ES6 fat arrows provide reasonable `this` behaviour, which protects us from some subtle accidental bugs, and erradicates `const self = this` from the codebase. Far arrows were not applied in Mocha code and AngularJS controllers/services constructors since these frameworks rely on `.bind()` on those functions. Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>