mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
eb931fd99b
When importing a project we know the file extension for each asset to be loaded. This change provides that information to the storage system so that we can load assets which don't use the default. For example, this allows loading JPG-format backdrops. In support of this change, there's a new function on `StringUtil` called `splitFirst`, which splits a string on the first instance of a separator character. This change includes unit tests for this new function. |
||
---|---|---|
.. | ||
attach-test-storage.js | ||
complex.sb2 | ||
control.sb2 | ||
data.sb2 | ||
default.sb2 | ||
demo.json | ||
event.sb2 | ||
events.json | ||
extract.js | ||
fake-renderer.js | ||
hat-execution-order.sb2 | ||
looks.sb2 | ||
motion.sb2 | ||
pen.sb2 | ||
procedure.sb2 | ||
sensing.sb2 | ||
sound.sb2 | ||
sprite.json |