mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -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} [bitmapResolution] - the resolution scale for a bitmap costume.
|
||||
* @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) {
|
||||
if (!runtime.storage) {
|
||||
|
|
|
@ -2,6 +2,7 @@ var EventEmitter = require('events');
|
|||
var util = require('util');
|
||||
|
||||
var filterToolbox = require('./util/filter-toolbox');
|
||||
var log = require('./util/log');
|
||||
var Runtime = require('./engine/runtime');
|
||||
var ScratchStorage = require('scratch-storage');
|
||||
var sb2import = require('./import/sb2import');
|
||||
|
|
Loading…
Reference in a new issue