scratch-vm/src/blocks/scratch3.js
Christopher Willis-Ford 27c06ce476 Add framework for block execution
The runtime now stores a mapping of opcode to function.
The `wedo2` and `scratch3` packages are currently stubs.
2016-05-02 11:31:25 -07:00

14 lines
283 B
JavaScript

function Scratch3Blocks() {
}
/**
* Retrieve the block primitives implemented by this package.
* @return {Object.<string, Function>} Mapping of opcode to Function.
*/
Scratch3Blocks.prototype.getPrimitives = function() {
return {
};
};
module.exports = Scratch3Blocks;