摘要:
今天有人在群里问为何给Number用extend扩展的时候总是出错,我记得前几天阅读Moo的源代码时好像发现Number好像是只能用implement来进行扩展,而extend似乎是给Function扩展用的,于是乎查了一下官方文档http://mootools.net/docs/core/Core/CoreType method: extendAdds one or more functions to the type. These are static functions that accept for example other types to parse them into th.. 阅读全文
posted @ 2011-11-22 21:10
已經停更
阅读(1453)
评论(3)
推荐(1)

浙公网安备 33010602011771号