liuyunzhuge Goto Github PK
Name: 流云诸葛
Type: User
Bio: 产品是用户的平行宇宙
Location: 北京
Name: 流云诸葛
Type: User
Bio: 产品是用户的平行宇宙
Location: 北京
非常简单的promise实现,核心源码100多行,清晰易懂,适合学习;不需要在生产环境中使用,Promise都已经是规范了,哪还需要自己去写;实现思路参考自then/promise。
博客相关的代码及demo;内容过时了,不建议继续看。
利用window.onerror完成脚本错误收集,方便进行上报,以便排查未知的客户端问题。 参考自AlloyLever,在它的基础上有简化和调整使用方式。错误上报服务也可以使用商业方案:Sentry和Bugsnag。
一个简单的event-bus实现,提供最简单的on off trigger once四个api,同时支持类似jq命名空间的事件管理。可应用于单页应用、小程序进行页面之间的通信。
新的博客,记录学习成果和想法。
可用于web与app之间进行混合开发的jssdk开发骨架,通过约定的方式与app快速打通服务。
Another Weixin OAuth2 Provider for Laravel Socialite
实现微信网页授权回调域名的代理转发,突破回调域名只能应用于一个项目的限制。这个项目提供的是解决这个问题的思路,参考即可,任何语言平台都可以用这个思路来解决这个问题。
根据route历史来管理router-view实例的alive组件。保留了keep-alive和vue-router的相关特性,根据浏览记录控制组件的销毁时机,同时增加了一个test属性,来支持按照路由决定组件是否该被alive。keep-alive会把渲染过的组件无条件的缓存,router-alive只保留根据浏览历史来维持存活的router-view组件实例,更能满足实际应用场景,尤其适合web app的场景当中。
一个简单的工具,把静态资源发布到七牛的CDN空间。仅需配置七牛AK和SK,就能方便地把某个目录下的文件上传到指定的空间,且支持覆盖式上传。
node抓取搜狗拼音输入法的细胞词库链接并下载到本地。有一定的学习价值和使用价值;唯一的遗憾是,看到好多词库的质量并不怎么好。
专门用于SPA场景下的wxjssdk,通过内部的多重机制,来避免SPA最容易遇到的签名失败的问题。
汇总库~查看更多。
可在vue-cli中使用的simple-qiniu-upload;会通过vue-cli-service注册upload命令。
vue的一个小插件,用于单页应用下页面之间的消息传递。利用事件的命名空间,每个组件只需关心在event-bus上要订阅哪些消息,组件销毁时自身添加在event-bus的消息handler会自动清理掉,不影响其它组件。
multi-page-demo based on vue-cli@4
可用于npm的wxjssdk版本。代码直接从官方copy过来,方便项目中通过构建工具使用。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.