fix: update window export syntax for plugin; ensure compatibility with global scope

feat: add example usage for artplayer-plugin-test in test.js
This commit is contained in:
Harvey Zack committed 2025-08-17 18:30:23 +08:00
1 parent abbecff472
commit e7633ed49d
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -27,5 +27,5 @@ if (typeof document !== 'undefined') {
}
if (typeof window !== 'undefined') {
window['{{export}}'] = {{export}};
window.{{export}} = {{export}};
}