摘要:
mime中间件Demo,里面用到的有1.path模块 //引入模块var path=require('path');2.extname方法 //获取文件的扩展名var extname=path.extname(realPath)var path=require('path'); mime={ ... 阅读全文
摘要:
var phoneWidth = parseInt(window.screen.width);var phoneScale = phoneWidth / 640;var ua = navigator.userAgent;if (/Android (\d+\.\d+)/.test(ua)) { ... 阅读全文