修改打包

This commit is contained in:
AncTe committed 2023-06-25 11:05:45 +08:00
1 parent bb54531a0e
commit 2e0770ae71
3 files changed
+6 -3

No files matched your search

+1 -2
View File
@@ -7,8 +7,7 @@ let time = 0;
// 插件必须有默认导出,并返回所有外部会用到的函数,所有返回的函数会被转发到core上
// 并且在这里面完成所有的初始化,函数外部也可以进行初始化,但完全不能涉及到样板相关内容
export default function init() {
if (!main.replayChecking)
core.registerAnimationFrame('pop', true, popValue);
core.registerAnimationFrame('pop', true, popValue);
// 返回值是所有外部可见内容
return { addPop, pop };
}