随笔分类 -  js杂文

摘要:原文地址:http://galen-yip.com/2015/10/07/%E3%80%90%E8%AF%91%E3%80%91%E4%BD%BF%E7%94%A8requestIdleCallback英文原文:https://developers.google.com/web/updates/20... 阅读全文
posted @ 2015-10-06 12:58 GalenYip 阅读(4541) 评论(0) 推荐(0)
摘要:我们先来看一下js的异步提交。XHR我们在原生的时候常常用到,因为常用到,我们更多把封装到了工具库中先看下他最常用的实现 1 // 旧方法 2 3 function createXHR() { 4 var xhr; 5 try{ 6 xhr = new XMLHtt... 阅读全文
posted @ 2015-07-01 15:45 GalenYip 阅读(1327) 评论(0) 推荐(2)