mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Put back deprecated function to not break gui
This commit is contained in:
commit
62e7dde84e
2 changed files with 22 additions and 0 deletions
18
package-lock.json
generated
18
package-lock.json
generated
|
@ -13340,9 +13340,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scratch-blocks": {
|
"scratch-blocks": {
|
||||||
|
<<<<<<< HEAD
|
||||||
"version": "0.1.0-prerelease.20210331033330",
|
"version": "0.1.0-prerelease.20210331033330",
|
||||||
"resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20210331033330.tgz",
|
"resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20210331033330.tgz",
|
||||||
"integrity": "sha512-7Z4R0vwBPr4fJHonj4PIlMhoNMxiDdJzLv0elBeVIqS/eblOkicilmkinTxSWdUdAifMHBTnMOUZmA3jF1+htA==",
|
"integrity": "sha512-7Z4R0vwBPr4fJHonj4PIlMhoNMxiDdJzLv0elBeVIqS/eblOkicilmkinTxSWdUdAifMHBTnMOUZmA3jF1+htA==",
|
||||||
|
=======
|
||||||
|
"version": "0.1.0-prerelease.20210324033606",
|
||||||
|
"resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20210324033606.tgz",
|
||||||
|
"integrity": "sha512-zCf7mN64RLME1tA9t2HcDEnf5h5+ziMyksbQj3gsWOUylYLrrYksMBw7wprVEMdPBJwz+4HhpcpkkrCQV1NVnw==",
|
||||||
|
>>>>>>> develop
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"exports-loader": "0.6.3",
|
"exports-loader": "0.6.3",
|
||||||
|
@ -13428,9 +13434,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scratch-render": {
|
"scratch-render": {
|
||||||
|
<<<<<<< HEAD
|
||||||
"version": "0.1.0-prerelease.20210325231800",
|
"version": "0.1.0-prerelease.20210325231800",
|
||||||
"resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-0.1.0-prerelease.20210325231800.tgz",
|
"resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-0.1.0-prerelease.20210325231800.tgz",
|
||||||
"integrity": "sha512-hjiIHRR8SuP/8UKKZ4O+TIJaCZ2wSN6uoEM49jwNjZecAaflBvd5t/OLL3NFQp3q7Ra6ncDi+B7URy7WRdm2fg==",
|
"integrity": "sha512-hjiIHRR8SuP/8UKKZ4O+TIJaCZ2wSN6uoEM49jwNjZecAaflBvd5t/OLL3NFQp3q7Ra6ncDi+B7URy7WRdm2fg==",
|
||||||
|
=======
|
||||||
|
"version": "0.1.0-prerelease.20210317200605",
|
||||||
|
"resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-0.1.0-prerelease.20210317200605.tgz",
|
||||||
|
"integrity": "sha512-HbWHTOX9X/jlZw0HINKfHkZ8H7GHiyqR8Cj3jKowHrH2r8bTn7K8DfT3Ql81fepMxVqqeKFPPnpvHwvDEaYWKg==",
|
||||||
|
>>>>>>> develop
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"grapheme-breaker": "0.3.2",
|
"grapheme-breaker": "0.3.2",
|
||||||
|
@ -13522,9 +13534,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scratch-svg-renderer": {
|
"scratch-svg-renderer": {
|
||||||
|
<<<<<<< HEAD
|
||||||
"version": "0.2.0-prerelease.20210325225314",
|
"version": "0.2.0-prerelease.20210325225314",
|
||||||
"resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20210325225314.tgz",
|
"resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20210325225314.tgz",
|
||||||
"integrity": "sha512-I8UObiVUlaxXOfmKTjXqvLZRmPwgn34vaerXKSv3h2B+AXT6sbkV8PtVqbYAIES2Oq0LFPJ9Vk+gmBzKq6Te+w==",
|
"integrity": "sha512-I8UObiVUlaxXOfmKTjXqvLZRmPwgn34vaerXKSv3h2B+AXT6sbkV8PtVqbYAIES2Oq0LFPJ9Vk+gmBzKq6Te+w==",
|
||||||
|
=======
|
||||||
|
"version": "0.2.0-prerelease.20210317184701",
|
||||||
|
"resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20210317184701.tgz",
|
||||||
|
"integrity": "sha512-drHD8kRTU//Rqgs8F6oWmBIQi6TunI86Skvp7BfM+mqalds3GzaPjZHKSCFkdkXbHO4i/zAPLvkQtMDdLm4Y6g==",
|
||||||
|
>>>>>>> develop
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"base64-js": "1.2.1",
|
"base64-js": "1.2.1",
|
||||||
|
|
|
@ -1090,6 +1090,10 @@ class VirtualMachine extends EventEmitter {
|
||||||
return this.runtime && this.runtime.renderer;
|
return this.runtime && this.runtime.renderer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @deprecated
|
||||||
|
attachV2SVGAdapter () {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the bitmap adapter for the VM/runtime, which converts scratch 2
|
* Set the bitmap adapter for the VM/runtime, which converts scratch 2
|
||||||
* bitmaps to scratch 3 bitmaps. (Scratch 3 bitmaps are all bitmap resolution 2)
|
* bitmaps to scratch 3 bitmaps. (Scratch 3 bitmaps are all bitmap resolution 2)
|
||||||
|
|
Loading…
Reference in a new issue