Fix 'promsie' typo in docs for loadOldTextCostume

This commit is contained in:
Florrie 2018-01-23 12:07:03 -04:00
parent 78c54852c6
commit ad96ec952b
No known key found for this signature in database
GPG key ID: E2877D259442CB08

View file

@ -97,7 +97,7 @@ const loadCostume = function (md5ext, costume, runtime) {
* @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 promsie 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.
*/
const loadOldTextCostume = function(baseMD5ext, textMD5ext, costume, runtime) {
// @todo should [bitmapResolution] (in the documentation comment) not be optional? After all, the resulting image is always a bitmap.