Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 16, 2023
1 parent 744e8cf commit 78c52ad
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/engine/tw-font-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,8 @@ class FontManager extends EventEmitter {
*/
constructor (runtime) {
super();

this.runtime = runtime;

/**
* Maps font family names to font metadata
* @type {Array<InternalFont>}
*/
/** @type {Array<InternalFont>} */
this.fonts = [];
}

Expand Down Expand Up @@ -144,7 +139,6 @@ class FontManager extends EventEmitter {

/**
* Get data to save in project.json and sb3 files.
* @returns {{json: any; assets: Array<any>;}|null}
*/
serializeJSON () {
if (this.fonts.length === 0) {
Expand Down

0 comments on commit 78c52ad

Please sign in to comment.