摘要:
underscore是一个很有用的js工具库,但是好像默认不支持seajs模块化新建一个文件例如叫做xx.js 谈后,键入define(function(require,exports,module) { 这里将underscore源代码复制进来});这样在使使用时var _ = require('lib/xx');console.info(_.VERSION);就可以了, 阅读全文
posted @ 2014-02-20 13:13
c3tc3tc3t
阅读(205)
评论(0)
推荐(0)
浙公网安备 33010602011771号