ITeye博客

luqingxuan

luqingxuan · 共 234 篇文章

web launch app

libaray: web-aunch-app callapp-lib h5唤起app 外部app唤醒app踩坑记录 Universal Link 前端部署采坑记 iOS 唤起APP之Universal Link(通用链接) H5唤起APP指南(附开源唤端库) iOS微信屏蔽通用链接

2019-10-29 14:20 · JavaScript · 评论(0)

HTTP HTTPS

https://blog.csdn.net/freekiteyu/article/details/76423436

2019-02-14 09:48 · http · 评论(0)

$digst $watch

简单易懂 https://www.cnblogs.com/likeFlyingFish/p/6183630.html

2018-07-26 09:10 · angular · 评论(0)

Render Prop

mixins、hoc、render prop比较 https://segmentfault.com/a/1190000013457428

2018-07-17 09:13 · react · 评论(0)

0.1 + 0.2 = 0.3

https://www.cnblogs.com/fsjohnhuang/p/5115672.html

2018-07-13 10:25 · JavaScript · 评论(0)

稀疏数组&密集数组

需要注意Array很多方法在遍历时跳过了稀疏数组元素,比如filter、map https://blog.csdn.net/aitangyong/article/details/40191305/ https://blog.csdn.net/wangji5850/article/details/51135948

2018-07-13 10:02 · JavaScript · 评论(0)

AST acron

http://www.php.cn/js-tutorial-339468.html

2018-07-12 09:19 · JavaScript · 评论(0)

storageChange

值得特别注意的是,storage事件不在导致数据变化的当前页面触发。 如果浏览器同时打开一个域名下面的多个页面,当其中一个页面改变sessionStorage或localStorage的数据时, 其他所有页面的storage事件会被触发,而原始页面并不触发storage事件。可以通过这种机制,实现多个窗口之间的通信。 所有浏览器之中,只有IE浏览器除外,它会在所有页面触发storage事件。 https://www.cnblogs.com/jscode/p/3584550.html https://www.cnblogs.com/cczw/p/3196195.html

2018-06-28 17:31 · JavaScript · 评论(0)

页面关闭发送数据 sendBeacon

navigator.sendBeacon http://www.yunnanhaoli.com/web/javascript/510.html

2018-06-27 16:24 · JavaScript · 评论(0)

Event 接口

event.eventPhase event.path || event.composedPath() || polyfill http://javascript.ruanyifeng.com/dom/event.html

2018-06-27 10:20 · JavaScript · 评论(0)

currentScript

如何获取当前js文档的地址 https://blog.csdn.net/cuixiping/article/details/45917149

2018-06-11 13:13 · JavaScript · 评论(0)

RuleSet之compiler/issuer

上节说明了参数rule.resource/rule.resourceQuery 配置值可以是string、regex、funciton、array组合, 关键在于通过 RuleSet.normalizeCondition 处理实现 比较完整的格式如下: module: { rules: [{ resource: { test: /\.js$/, include: [], exclude: [] }, use: ['babel-loader], issuer: [], compiler: [], rules: [], oneOf: [] }] } 官网说法: When we import '.…

2018-06-07 10:00 · webpack · 评论(0)

RuleSet之resource/resourceQuery

RuleSet解析webpack.config.js设定的一系列配置约束(module.rules部分), 结合import(resourcePath)/require(resourcePath)引入的资源, 计算resourcePath和配置规则的匹配结果 直白的说,可以认为这个过程是筛选使用哪些loader去加载处理资源的过程 webpack源码RuleSet看到condition部分,总结一下 https://webpack.js.org/configuration/module/#rule-resource 一般大众化配置格式: module: { rules: [{ test: /…

2018-06-07 09:16 · webpack · 评论(0)

入口之webpackJsonpCallback

每个chunk的入口函数,基本上做了三件事,比如针对app.js webpackJsonpCallback([0,1], { 2: function(){}, 3:function(){} }, [2]); 1.chunk1有可能依赖chunk0,要先执行chunk0,也有可能chunk0已经执行过了,所以需要判断 2.将module = 2/3 的定义保存在modules对象中 3.执行module = 2的模块的代码,注入三个参数 对于第一点说明: 在通过require.ensure加载的时候,的确有可能0正在加载中,并且chunk0下边挂在了很多callback,需要在chunk0 r…

2018-06-06 11:07 · webpack · 评论(0)

@types typings

http://www.bubuko.com/infodetail-1876184.html https://segmentfault.com/a/1190000007560996 https://segmentfault.com/a/1190000011877674

2018-06-06 08:42 · typescript · 评论(0)