chore: v2.0.1 - 精简dead code + 版本升级
- utils.js: 950行→180行,移除30+未使用函数 - styles.js: 1800行→650行,移除未使用组件样式和重复规则 - animations.js: 850行→120行,移除Web Animations API dead code - 全项目版本号升级到 2.0.1 - 测试同步清理,134/134通过
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* MetonaToast Core - 核心Toast逻辑
|
||||
* @module core
|
||||
* @version 2.0.0
|
||||
* @version 2.0.1
|
||||
* @description 重构后的核心模块,包含Toast类的优化实现
|
||||
*/
|
||||
|
||||
@@ -621,7 +621,7 @@ const _actionHTML = (actions) => {
|
||||
const meToast = {
|
||||
_toasts: new Map(),
|
||||
_config: { ...DEFAULTS },
|
||||
version: '2.0.0',
|
||||
version: '2.0.1',
|
||||
|
||||
configure(opts) {
|
||||
if (!opts || typeof opts !== 'object') return this;
|
||||
|
||||
Reference in New Issue
Block a user