mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-26 06:10:26 -04:00
do not enumerate Blocks._cache
Do not stringify or enumerate Blocks._cache items.
This commit is contained in:
parent
05291aa254
commit
728769ea24
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ class Blocks {
|
|||
* @type {{inputs: {}, procedureParamNames: {}, procedureDefinitions: {}}}
|
||||
* @private
|
||||
*/
|
||||
Object.defineProperty(this, '_cache', {writable: true, enumerable: false});
|
||||
this._cache = {
|
||||
/**
|
||||
* Cache block inputs by block id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue