do not enumerate Blocks._cache

Do not stringify or enumerate Blocks._cache items.
This commit is contained in:
Michael "Z" Goddard 2018-06-12 14:10:01 -04:00
parent 05291aa254
commit 728769ea24
No known key found for this signature in database
GPG key ID: 762CD40DD5349872

View file

@ -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