mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-11 13:01:18 -04:00
Updates for newly released scratch-render repo
This commit is contained in:
parent
30735bc06e
commit
c47a061edb
4 changed files with 5 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -31,4 +31,4 @@ coverage:
|
|||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
.PHONY: build lint test coverage benchmark
|
||||
.PHONY: build lint test coverage benchmark serve
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
"dependencies": {
|
||||
"htmlparser2": "3.9.0",
|
||||
"memoizee": "0.3.10",
|
||||
"promise": "7.1.1",
|
||||
"scratch-render-webgl": "git+https://github.com/LLK/scratch-render-webgl.git"
|
||||
"promise": "7.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "2.7.0",
|
||||
"highlightjs": "8.7.0",
|
||||
"json-loader": "0.5.4",
|
||||
"scratch-blocks": "git+https://git@github.com/LLK/scratch-blocks.git",
|
||||
"scratch-render": "git+https://git@github.com/LLK/scratch-render.git",
|
||||
"tap": "5.7.1",
|
||||
"webpack": "1.13.0",
|
||||
"webpack-dev-server": "1.14.1"
|
||||
|
|
|
@ -735,7 +735,7 @@
|
|||
<script src="../node_modules/scratch-blocks/blocks_compressed_vertical.js"></script>
|
||||
<script src="../node_modules/scratch-blocks/msg/messages.js"></script>
|
||||
<!-- Renderer -->
|
||||
<script src="../node_modules/scratch-render-webgl/build/render-webgl.js"></script>
|
||||
<script src="../node_modules/scratch-render/render.js"></script>
|
||||
<!-- VM Worker -->
|
||||
<script src="../vm.worker.js"></script>
|
||||
<!-- Playground -->
|
||||
|
|
|
@ -108,7 +108,7 @@ VirtualMachine.prototype.animationFrame = function () {
|
|||
*/
|
||||
if (ENV_WORKER) {
|
||||
self.importScripts(
|
||||
'./node_modules/scratch-render-webgl/build/render-webgl-worker.js'
|
||||
'./node_modules/scratch-render/render-worker.js'
|
||||
);
|
||||
self.renderer = new self.RenderWebGLWorker();
|
||||
self.vmInstance = new VirtualMachine();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue