mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 23:30:09 -05:00
Fix lint, missing require
This commit is contained in:
parent
6ad0f3351b
commit
c945b37288
2 changed files with 2 additions and 1 deletions
|
@ -158,7 +158,7 @@ var parseScratchObject = function (object, runtime, topLevel) {
|
||||||
* @property {number} rotationCenterY - the Y component of the costume's origin.
|
* @property {number} rotationCenterY - the Y component of the costume's origin.
|
||||||
* @property {number} [bitmapResolution] - the resolution scale for a bitmap costume.
|
* @property {number} [bitmapResolution] - the resolution scale for a bitmap costume.
|
||||||
* @param {!Runtime} runtime - Scratch runtime, used to access the storage module.
|
* @param {!Runtime} runtime - Scratch runtime, used to access the storage module.
|
||||||
* @returns {Promise} - a promise which will resolve after skinId is set, or null on error.
|
* @returns {?Promise} - a promise which will resolve after skinId is set, or null on error.
|
||||||
*/
|
*/
|
||||||
var loadCostume = function (md5ext, costume, runtime) {
|
var loadCostume = function (md5ext, costume, runtime) {
|
||||||
if (!runtime.storage) {
|
if (!runtime.storage) {
|
||||||
|
|
|
@ -2,6 +2,7 @@ var EventEmitter = require('events');
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
|
|
||||||
var filterToolbox = require('./util/filter-toolbox');
|
var filterToolbox = require('./util/filter-toolbox');
|
||||||
|
var log = require('./util/log');
|
||||||
var Runtime = require('./engine/runtime');
|
var Runtime = require('./engine/runtime');
|
||||||
var ScratchStorage = require('scratch-storage');
|
var ScratchStorage = require('scratch-storage');
|
||||||
var sb2import = require('./import/sb2import');
|
var sb2import = require('./import/sb2import');
|
||||||
|
|
Loading…
Reference in a new issue