会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
金色元年
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2016年9月13日
javascript-binarySearch
摘要: 前提: 数组已排序,且为正整数数组.
阅读全文
posted @ 2016-09-13 23:55 金色元年
阅读(329)
评论(0)
推荐(0)
2016年8月12日
LESS初探
摘要: 1. 安装less $ npm install -g less 2. less文件编译成css文件 $ lessc styles.less styles.css /*此处为编译后的css文件*/ /*此处为编译前的less文件*/ 参考链接:1. http://www.ibm.com/develop
阅读全文
posted @ 2016-08-12 18:46 金色元年
阅读(139)
评论(0)
推荐(0)
2016年8月7日
CSS特殊性值
摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 7 <style> 8 h1 { color: red; } /* 0, 0, 0, 1*/ 9 bo
阅读全文
posted @ 2016-08-07 20:01 金色元年
阅读(425)
评论(0)
推荐(0)
2016年8月4日
javascript判断对象
摘要: 1 var assert = require('chai').assert; 2 3 describe('Array', function() { 4 describe('#indexOf()', function() { 5 it('should return -1 when the value
阅读全文
posted @ 2016-08-04 23:53 金色元年
阅读(198)
评论(0)
推荐(0)
2016年6月28日
javascript冒泡算法
摘要: 1 var arr = [10, 10, 3, 2, 5 , 4, 8, 3]; 2 3 function reSort(arr) { 4 var temp = 0; 5 var len = arr.length; 6 for(var i =0; i arr[j + 1]) { 24 temp = arr[j]; 25 ...
阅读全文
posted @ 2016-06-28 23:53 金色元年
阅读(183)
评论(0)
推荐(0)
2016年6月19日
jsTree搜索排序向上向下
摘要: 双链表 jstree:版本号-3.0.9 API地址:https://www.jstree.com/api/ 数据:ajax后台生成 数据结构:双链表
阅读全文
posted @ 2016-06-19 20:25 金色元年
阅读(2275)
评论(0)
推荐(0)
2016年5月22日
求一个数的平方根
摘要: Lisp - scheme方言
阅读全文
posted @ 2016-05-22 20:03 金色元年
阅读(189)
评论(0)
推荐(0)
2016年3月28日
jquery表格增加删除后改变序号
摘要: 有个小bug,懒得修了。 目的:增加一行的时候,td第一列排序。 删除一行的时候,td第一列排序
阅读全文
posted @ 2016-03-28 00:15 金色元年
阅读(1881)
评论(0)
推荐(0)
2016年3月23日
checkbox绿色圆圈样式
摘要: 抄自: http://www.cnblogs.com/xyzhanjiang/p/3989836.html?utm_source=tuicool&utm_medium=referral
阅读全文
posted @ 2016-03-23 10:17 金色元年
阅读(1794)
评论(0)
推荐(0)
2016年3月22日
利用should.js进行测试
摘要: nodejs 环境 , 安装should.js包 (npm install should) mocha + should (npm install -g mocha)
阅读全文
posted @ 2016-03-22 15:26 金色元年
阅读(1077)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告