mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 15:32:40 -05:00
548aa6dd70
The linter is correct that `devObject[func].call(devObject, args)` is unnecessary because it's equivalent to `devObject[func](args)`. @tmickel probably either meant to allow passing an array of arguments to be applied, or to call the function with the provided argument. Since we probably want to be able to use multi-argument functions, use `apply` and fix the one place that uses `ioQuery` with an argument. |
||
---|---|---|
.. | ||
scratch3_control.js | ||
scratch3_data.js | ||
scratch3_event.js | ||
scratch3_looks.js | ||
scratch3_motion.js | ||
scratch3_operators.js | ||
scratch3_pen.js | ||
scratch3_procedures.js | ||
scratch3_sensing.js | ||
scratch3_sound.js |