摘要:
一、 mixError用来给出错误function minErr(module, ErrorConstructor) { ErrorConstructor = ErrorConstructor || Error; return function() { var code = argumen... 阅读全文
摘要:
1 先看下用到的一些东西 数组的foreach [].forEach(function(value, index, array){}) 数组的filter [].filter(callback,[thisObject])2 nodeType element : 1, attr : 2, ... 阅读全文
摘要:
1 zepto的swipe事件无效 document.addEventListener('touchmove', function (event) { event.preventDefault(); }, false);2 zepto的tap点透 延迟处理,加上setTimeout 引... 阅读全文