上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 90 下一页
摘要: + Enzyme 来自 airbnb 公司,是一个用于 React 的 JavaScript 测试工具,方便你判断、操纵和历遍 React Components 输出。Enzyme 的 API 通过模仿 jQuery 的 API ,使得 DOM 操作和历遍很灵活、直观。Enzyme 兼容所有的主要测 阅读全文
posted @ 2019-09-25 14:06 Running00 阅读(305) 评论(0) 推荐(0)
摘要: + 1、JavaScript程序是用Unicode字符集编写的。Unicode 是ASCII和Latin 1的超级,并支持地球上几乎所有在用的语言。 + 2、JavaScript是区分大小写的语言。HTML并不区分大小写 + 3、整齐一致的缩进,提高代码的可读性 + 4、JavaScript标识符必 阅读全文
posted @ 2019-09-18 20:37 Running00 阅读(112) 评论(0) 推荐(0)
摘要: + 1、 JavaScript是面向web(网页)的编程语言。 + 2、html: 描述网页内容,css:描述网页样式,JavaScript:描述网页行为 + 3、JavaScript非常适合面向对象和函数式的编程风格 + 4、JavaScript解释器或者”引擎“,google将它的JavaScr 阅读全文
posted @ 2019-09-18 19:33 Running00 阅读(94) 评论(0) 推荐(0)
摘要: ``` "number-leading-zero": "never", // 去掉小数点前面的0 ``` ``` "prettier.stylelintIntegration": true, // vscode settings.json 文件中配置, prettier 会按照.stylelintrc 格式化 ``` 阅读全文
posted @ 2019-08-09 11:46 Running00 阅读(342) 评论(0) 推荐(0)
摘要: + 可以通过postcss loader 添加 阅读全文
posted @ 2019-08-07 11:37 Running00 阅读(159) 评论(0) 推荐(0)
摘要: + devServer + host: '0.0.0.0' 或者是ip 形式的 ,proxy 中 的 target,host 需要为ip形式的地址, + host: 'aa.a.com' 为字符形式的 ,proxy 中 的 target,host 需要为域名形式的地址, 这种形式本地要配置host 阅读全文
posted @ 2019-08-07 11:06 Running00 阅读(211) 评论(0) 推荐(0)
摘要: + 退出vim的快捷键,不需要进入命令编辑模式 按住shift zz 保存退出 zq 不保存退出,q表示放弃 阅读全文
posted @ 2019-08-07 01:54 Running00 阅读(110) 评论(0) 推荐(0)
摘要: 1. a = () = {}, // Support for the experimental syntax 'classProperties' isn't currently enabled 2. @babel/plugin transform runtime 有async await 时候, 要 阅读全文
posted @ 2019-08-04 22:50 Running00 阅读(129) 评论(0) 推荐(0)
摘要: + 取消点击时候的透明区域 + iphonex 适配 + 文字不能选择 + 图片不能操作 + 去掉input foucs态 input 框样式 + input placeholder 样式修改 + 移动端 ios input placeholder 展示不全 line height: normal; 阅读全文
posted @ 2019-08-02 20:32 Running00 阅读(116) 评论(0) 推荐(0)
摘要: "no-multi-spaces": "error" // 表达式不能有多余的空格 var a = [1, 2] // error "no-trailing-spaces": "error" // 禁止行尾空格 "quotes": [1, "single"] // 单引号 "object-curly 阅读全文
posted @ 2019-08-02 13:07 Running00 阅读(302) 评论(0) 推荐(0)
上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 90 下一页