我的问题是 module 的第二个参数的作用是啥?
因为看了 module ... 参数的说明是:"This function can receive optional options
after the module name, where each option is a function to be applied
over the module."
可是这里用的 tek.class 是一个模块,即附件的 class.lua,如果把 tek.class 当做一个 function
来用就是调用这个表中的 __call(), class.__call() 为 function
Class.newClass(superclass, class),到这里就看不懂了,是调这个 newClass
函数吗?调了有啥用?比较晕.
有人能看懂并解释一下吗?( tekui 的完整代码仓库在 http://hg.teklib.org/tekui ,主页在
http://tekui.teklib.org/)
谢谢!