CircleLoader 环形loading插件 1.原生JS,不依赖jquery,zepto 2.前端学习交流群:739574382 案例展示 下载地址 https://github.com/chaorenzeng/CircleLoader/archive/master.zip 快速使用 1.引用 ...
分类:
其他好文 时间:
2019-01-25 17:41:42
阅读次数:
190
合并两个数组并去重(ES5和ES6两种方式实现) ES6实现方式 let arr1 = [1, 1, 2, 3, 6, 9, 5, 5, 4] let arr2 = [1, 2, 5, 4, 9, 7, 7, 8, 8] function uniqueArr(arr1,arr2) { //合并两个数 ...
分类:
编程语言 时间:
2019-01-25 15:59:09
阅读次数:
353
var arr = [1,2,3,34]; arr.each = function(array,fn){ for(let i=0;i<array.length;i++){ fn(array[i]) } } arr.each(arr,function(v){ console.log(v) }) ...
分类:
其他好文 时间:
2019-01-25 15:16:15
阅读次数:
156
wanterFun = (times)=>{ //时间:百分比 let warterMap = { 6:8, 8:22, 10:34, 12:57, 14:66, 16:85, 18:90, 20:95, 22:100, } if(times<6){ return 0; }else{ return ...
分类:
其他好文 时间:
2019-01-25 14:12:24
阅读次数:
173
Let N be a positive integer. There is a numerical sequence of length 3N, a=(a1,a2,…,a3N). Snuke is constructing a new sequence of length 2N, a', by re ...
分类:
其他好文 时间:
2019-01-25 14:08:29
阅读次数:
114
1、在electron中使用el-tooltip无效解决办法:webpack.renderer.config 大约21行 let whiteListedModules = ['vue', 'element-ui'] 2、项目使用vue框架,随着路由的切换对应的组件要显示高亮,但是当你点击页面的其他部 ...
分类:
其他好文 时间:
2019-01-25 12:53:46
阅读次数:
153
《let's build a simple xxx》 build your own lisp ★★ Crafting Interpreters (学生版)Implementing Functional Languages_student.pdf - 快捷方式 未成书:Building LISP Wr ...
分类:
其他好文 时间:
2019-01-25 01:11:25
阅读次数:
278
待填坑 完整代码:scheme-code/EOPL/ch5/4-LETREC (CPS)-Exception-扩展/exer-5.43__★callcc/ ...
分类:
其他好文 时间:
2019-01-25 01:05:38
阅读次数:
109
标签(空格分隔): 伪元素 介绍常用的伪元素: first letter 例如: before 用于在元素的内容前面插入新内容。 在所有p标签的内容前面加上一个红色的 after 用于在元素的内容后面插入新内容。 在所有p标签的内容后面加上一个蓝色的?。 ...
分类:
其他好文 时间:
2019-01-24 23:31:21
阅读次数:
564
此时如果实例化对象时,传入的参数不符合条件就会抛出异常! ...
分类:
其他好文 时间:
2019-01-24 21:56:00
阅读次数:
160