Skip to content

Commit

Permalink
converted attributes to be static property on class
Browse files Browse the repository at this point in the history
  • Loading branch information
kpal81xd committed Apr 15, 2024
1 parent 84e1f77 commit 24ac5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/script/script-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function createScript(name, app) {
throw new Error(`Script name '${name}' is reserved, please rename the script`);

class ScriptWithAttributes extends Script {
attributes = new ScriptAttributes(ScriptWithAttributes);
static attributes = new ScriptAttributes(ScriptWithAttributes);
}

registerScript(ScriptWithAttributes, name, app);
Expand Down

0 comments on commit 24ac5dd

Please sign in to comment.