mirror of
https://github.com/scratchfoundation/scratch-storage.git
synced 2025-06-10 20:31:46 -04:00
Instead of using `Object.assign` to place `Asset` and `AssetType` into the `ScratchStorage` prototype or constructor, add instance getters and (deprecated) static getters. This centralizes all the ways to access these types.
7 lines
158 B
JavaScript
7 lines
158 B
JavaScript
const ScratchStorage = require('./ScratchStorage');
|
|
|
|
/**
|
|
* Export for use with NPM & Node.js.
|
|
* @type {ScratchStorage}
|
|
*/
|
|
module.exports = ScratchStorage;
|