Use the right skin format in playground demo ()

This commit is contained in:
Tim Mickel 2016-09-12 12:08:56 -04:00 committed by GitHub
parent 042f0f0353
commit 2b81b791b3
2 changed files with 3 additions and 2 deletions

View file

@ -35,7 +35,8 @@ function initWorker() {
create2.then(function (id) {
drawableID2 = id;
renderer.updateDrawableProperties(drawableID2, {
skin: '09dc888b0b7df19f70d81588ae73420e.svg'
skin: 'https://cdn.assets.scratch.mit.edu/internalapi/asset/' +
'09dc888b0b7df19f70d81588ae73420e.svg/get/'
});
});

View file

@ -121,7 +121,7 @@ Drawable._DEFAULT_SKIN = {
'09dc888b0b7df19f70d81588ae73420e.svg/get/',
gradient: 'https://cdn.assets.scratch.mit.edu/internalapi/asset/' +
'a49ff276b9b8f997a1ae163992c2c145.png/get/'
}.scratch_cat;
}.squirrel;
/**
* Dispose of this Drawable. Do not use it after calling this method.