上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
摘要: other > bytefunction covertSizeToByte(size) { // sizes = ['B','KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']; let temp = size; if (size.endsWith('KB' 阅读全文
posted @ 2017-06-14 12:36 _白马非马 阅读(733) 评论(0) 推荐(0) 编辑
摘要: 关于用web 实现 复制粘贴 等 自定义右键菜单功能 ,网上大部分文章都是用document.execCommand(xxxx) 来实现, 然鹅, document.execCommand(xxxx) 是ie独家提供的,所以像ff,chrome等游览器是没办法用的,(当然 有的一些命令chrome 阅读全文
posted @ 2017-06-13 20:20 _白马非马 阅读(7125) 评论(0) 推荐(0) 编辑
摘要: cnpm install rimraf -g package.json 可以像下面这样配置, 这样 每次build时候 都会把原来build好的 全部删除 重新编译 { "name": "webpack-ensure", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "... 阅读全文
posted @ 2017-06-12 11:52 _白马非马 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 参考内容:http://www.cnblogs.com/ArthurPatten/p/3317263.html 阅读全文
posted @ 2017-06-06 18:18 _白马非马 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/woshinia/article/details/18664903 document.execCommand()方法处理Html数据时常用语法格式如下:document.execCommand(sCommand[,交互方式, 动态参数])其中:sComman 阅读全文
posted @ 2017-05-29 11:20 _白马非马 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 预览地址 :http://sandbox.runjs.cn/show/lhga1inc? 发现bootstrap4 按钮默认有个动画效果,所以研究了一下!!! 阅读全文
posted @ 2017-05-12 18:15 _白马非马 阅读(1543) 评论(0) 推荐(0) 编辑
摘要: // 从Vue的第二个commit来学习数据驱动视图 本文地址:https://zhuanlan.zhihu.com/p/26744423 精品文章 vue学习笔记:http://jiongks.name/blog/vue-code-review/ 阅读全文
posted @ 2017-05-11 15:22 _白马非马 阅读(826) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-05-09 20:20 _白马非马 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 在这里讲解 gitextention +beyondcompare 配合使用常用方法 1常用提交方式有两种 2 图例指南 1 常见先提交后拉取 实例 2 线拉取 后提交 表现为,从别人的提交树上 单独出来一个枝干, 3 工具栏 4 提交示意图 阅读全文
posted @ 2017-05-09 18:43 _白马非马 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 1 初级电灯例子 , 状态仅仅用字符串表示,没有封装到对象 // 状态模式 面向对象版本 实现的关键 1 状态用对象表示 2 状态对应的行为 抽象成一个统一的方法(buttonWasPressed),可以实现委托。这个行为可以放到状态类里,也可以放到context里, 3 状态内部 会自己修改当前的 阅读全文
posted @ 2017-05-09 12:21 _白马非马 阅读(428) 评论(0) 推荐(2) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页