mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 15:43:48 +00:00
ESLint rules: array-callback-return, no-invalid-this, func-style (#3151)
* satisfied array-callback-return rule * satisfying no-invalid-this rule * fixed invalid-this issues * changed isNotEqual to arrow function * added rule func-style * added return false to satisfy array-callback-return rule Co-authored-by: Joel McKinnon <jmckinnon@apple.com> Co-authored-by: Joshi <simplyrender@gmail.com> Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -47,6 +47,7 @@ define(["zepto"], function ($) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
input.trigger("click");
|
||||
input.on('change', function (event) {
|
||||
// eslint-disable-next-line no-invalid-this
|
||||
file = this.files[0];
|
||||
input.remove();
|
||||
if (file) {
|
||||
|
Reference in New Issue
Block a user