Fix lint, missing require

This commit is contained in:
Christopher Willis-Ford 2017-03-13 15:44:13 -07:00
parent 6ad0f3351b
commit c945b37288
2 changed files with 2 additions and 1 deletions

View file

@ -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) {

View file

@ -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');