2014年7月22日
摘要: 1 /** 2 * 事件绑定 3 */ 4 function bindEvent(target, noOnEventName, handler, useCapture) { 5 useCapture = useCapture || false; 6 7 if (window.addEventList 阅读全文
posted @ 2014-07-22 13:40 Darex 阅读(221) 评论(0) 推荐(0)
  2014年6月17日
摘要: https://github.com/expressjs/multer 阅读全文
posted @ 2014-06-17 17:39 Darex 阅读(504) 评论(0) 推荐(0)
摘要: Express 4.x 默认将启动模块分离到了./bin/www中,直接使用 supervisor 无法正常监控应用,使得开发过程中的调试非常不方便。直接在 app.js 添加 app 模块即可。var debug = require('debug')('my-application'); // d... 阅读全文
posted @ 2014-06-17 17:31 Darex 阅读(449) 评论(0) 推荐(0)