Spaces:
Running
Running
Update src/addons/api.js
Browse files- src/addons/api.js +1 -1
src/addons/api.js
CHANGED
@@ -706,7 +706,7 @@ class AddonRunner {
|
|
706 |
/**
|
707 |
* @type {Record<string, unknown>}
|
708 |
*/
|
709 |
-
this.resources = null
|
710 |
|
711 |
this.publicAPI = {
|
712 |
global,
|
|
|
706 |
/**
|
707 |
* @type {Record<string, unknown>}
|
708 |
*/
|
709 |
+
this.resources = {}; // 🔹 null → {} に修正(空のオブジェクト)
|
710 |
|
711 |
this.publicAPI = {
|
712 |
global,
|