摘要:
-webkit-overflow-scrolling: touch; ios 滚动 判断微信浏览器 micromessenger 背景不滚动 requestAnimationFrame 替换setTimeout 不需要设置时间间隔 默认 Content-Type: text/plain;charse 阅读全文
摘要:
figlet https://aotu.io/notes/2016/11/22/figlet/ 教程 阅读全文
摘要:
游戏 https://segmentfault.com/a/1190000009226335 教程 https://www.phaser-china.com/ 教程 http://phaser.io/ 官网 阅读全文
摘要:
react 入门 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="https://cdn.bootcss.com/react/15.4.2/react.m 阅读全文
摘要:
nuxt 阅读全文
摘要:
koa 链接: koa2 获取后端接口,提供给前端使用 跨域 其他 【引入模板文件】 const fs = require('fs'); ctx.response.body = fs.createReadStream('./template.html'); 【原生路由: url请求判断 】 if ( 阅读全文
摘要:
最简用 promise 多个异步用 async async 返回 promise (直接在async函数里面操作就行了,不要再返回了) async try.. catch.. promise try-catch 传统回调函数 promise 链式调用 promise.then().then() /* 阅读全文