04 2018 档案

摘要:MDN https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status section 10 of RFC 2616 https://tools.ietf.org/html/rfc2616#section-10 HTTP Status Cats ht 阅读全文
posted @ 2018-04-27 10:57 Ajanuw 阅读(305) 评论(0) 推荐(0)
摘要:文档http://es6.ruanyifeng.com/#docs/decorator ts文档 https://www.tslang.cn/docs/handbook/decorators.html#class-decorators 当多个装饰器应用于一个声明上,从上至下调用,从下而上执行 fun 阅读全文
posted @ 2018-04-24 22:20 Ajanuw 阅读(883) 评论(0) 推荐(1)
摘要:安装依赖 λ yarn add typescript @types/node concurrently nodemon wait-on -D 初始化一个 tsconfig.json λ ./node_modules/.bin/tsc --init 编写 tsconfig.json { "compil 阅读全文
posted @ 2018-04-24 20:29 Ajanuw 阅读(1551) 评论(0) 推荐(0)
摘要:"terminal.integrated.defaultProfile.windows": "cmder", "terminal.integrated.profiles.windows": { "cmder": { "path": "D:\\Program\\cmder\\vendor\\git-f 阅读全文
posted @ 2018-04-18 10:45 Ajanuw 阅读(6471) 评论(0) 推荐(2)
摘要:yargs模块 "https://www.npmjs.com/package/yargs" "https://github.com/yargs/yargs/blob/HEAD/docs/api.md" 脚本文件 package.json 在脚本根目录执行 或则 测试完后删除 r32 执行命令就会出现 阅读全文
posted @ 2018-04-14 23:18 Ajanuw 阅读(630) 评论(0) 推荐(0)
摘要:"http://cn.rx.js.org/manual/overview.html h213" "https://rxjs cn.github.io/rxjs5 ultimate cn/content/hot n cold observables.html" 冷观察 javascript const 阅读全文
posted @ 2018-04-12 16:43 Ajanuw 阅读(386) 评论(0) 推荐(0)
摘要:ipcMain "https://electronjs.org/docs/api/ipc main" 当在主进程中使用时,它处理从渲染器进程(网页)发送出来的异步和同步信息, 当然也有可能从主进程向渲染进程发送消息 ipcRenderer "https://electronjs.org/docs/a 阅读全文
posted @ 2018-04-12 00:07 Ajanuw 阅读(4275) 评论(0) 推荐(2)
摘要:.json 不能写注释, 还需要严格的双引号 或者使用 .json5 javascript // test.js const fs = require('fs'); const vm = require('vm'); const util = require('util') const format 阅读全文
posted @ 2018-04-11 13:58 Ajanuw 阅读(738) 评论(0) 推荐(0)
摘要:操作符文档 API 所有静态操作符 Observable import { Observable } from "rxjs"; const l = console.log; // 创建 Observable var observable = new Observable((subscribe) => 阅读全文
posted @ 2018-04-09 10:36 Ajanuw 阅读(1050) 评论(0) 推荐(0)