mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
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:
1 parent
abbecff472
commit
e7633ed49d
2 files changed
+13
-1
No files matched your search
@@ -27,5 +27,5 @@ if (typeof document !== 'undefined') {
|
||||
}
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['{{export}}'] = {{export}};
|
||||
window.{{export}} = {{export}};
|
||||
}
|
||||
Reference in new issue
Block a user