scratch-vm/test/unit
Christopher Willis-Ford eb931fd99b Specify dataFormat when loading asset for import
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.
2017-05-24 15:35:10 -07:00
..
blocks_control.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
blocks_operators.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
engine_adapter.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
engine_blocks.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
engine_runtime.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
engine_sequencer.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
engine_thread.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
io_clock.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
io_keyboard.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
io_mouse.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
serialization_sb2.js Lint and fix failing tests 2017-04-27 17:49:57 -04:00
serialization_sb3.js Lint and fix failing tests 2017-04-27 17:49:57 -04:00
spec.js Add to the vm spec 2017-05-22 08:17:28 -04:00
sprites_rendered-target.js Handle more cases of deleting costumes 2017-05-22 08:17:28 -04:00
util_cast.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
util_color.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
util_math.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
util_string.js Specify dataFormat when loading asset for import 2017-05-24 15:35:10 -07:00
util_timer.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
util_xml.js Use ES6 linting rules in the project root 2017-04-24 15:37:58 -04:00
virtual-machine.js Add failing test for gui issues 370 2017-05-18 09:13:31 -04:00