Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

提个建议,在本站留个ES6版的脚本 #22

Open
xinggsf opened this issue Mar 26, 2018 · 1 comment
Open

提个建议,在本站留个ES6版的脚本 #22

xinggsf opened this issue Mar 26, 2018 · 1 comment

Comments

@xinggsf
Copy link

xinggsf commented Mar 26, 2018

脚本全是静态方法,其实这些类都可用定义对象的方式来做~更具通用性。

var fack = {
  func1() {
  },
  func2() {
  },
  func3() {
  }
};

这样就无须转码脚本,而转码后的脚本太大了~2千多行

@gooyie
Copy link
Owner

gooyie commented Mar 29, 2018

emmmm 全是静态方法???更具通用性???
这脚本不算大吧。
代码是写给人看的顺便让机器执行而已。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants