会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
darr
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
16
下一页
2015年9月18日
node
摘要: 浏览器中除了V8作为JavaScript引擎 外,还有一个WebKit布局引擎。NodeJS的作者说,他创造NodeJS的目的是为了实现高性能Web服务器,他首先看重的是事件机制和异步IO模型的优越性,而不是JS。但是他需要选择一种编程语言实现他的想法,这种编程语言不能自带IO功能,并且需要能良好支...
阅读全文
posted @ 2015-09-18 11:45 darr
阅读(171)
评论(0)
推荐(0)
2015年9月16日
html meta标签
摘要: 必需的属性属性值描述contentsome_text定义与 http-equiv 或 name 属性相关的元信息可选的属性属性值描述http-equivcontent-typeexpiresrefreshset-cookie把 content 属性关联到 HTTP 头部。nameauthordesc...
阅读全文
posted @ 2015-09-16 11:40 darr
阅读(167)
评论(0)
推荐(0)
5分钟内使用React、Webpack与ES6构建应用
摘要: http://blog.leapoahead.com/2015/09/12/react-es6-webpack-in-5-minutes/
阅读全文
posted @ 2015-09-16 11:07 darr
阅读(158)
评论(0)
推荐(0)
2015年9月15日
javascript数据缓存
摘要: if(!self.hotCityPrice[city]) { $.ajax({ type: 'GET', url: self.hotCityUrl, dat...
阅读全文
posted @ 2015-09-15 17:22 darr
阅读(437)
评论(0)
推荐(0)
浏览器中的刷新
摘要: http://weizhifeng.net/difference-between-f5-and-ctrl-f5.html说明在不同的浏览器中F5和CTRL-F5的行为是不一样的,但是他们的主要行为还是非常相似的,以下结果是在FF,IE,Opera和Chrome中进行过测试得出。F5使用缓存,并且只有...
阅读全文
posted @ 2015-09-15 16:32 darr
阅读(177)
评论(0)
推荐(0)
查找DOM
摘要: 1_111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
阅读全文
posted @ 2015-09-15 16:01 darr
阅读(158)
评论(0)
推荐(0)
javascript自执行函数为什么要把windows作为参数传进去
摘要: http://segmentfault.com/q/1010000000311686(function (window, $, undefined) { play=function(){ $("#demo").val("This is a demo."); } win...
阅读全文
posted @ 2015-09-15 14:58 darr
阅读(1623)
评论(0)
推荐(0)
?this&函数自身的引用
摘要: https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Functions在函数执行时,this关键字并不会指向正在运行的函数本身,而是指向调用该函数的对象.所以,如果你想在函数内部获取函数自身的引用...
阅读全文
posted @ 2015-09-15 12:17 darr
阅读(433)
评论(0)
推荐(0)
2015年9月14日
document.getElementById和document.querySelector的区别
摘要: zepto中的$(".111")出错,jQuery中$(".111")不出错的原因:zepto用document.querySelector实现,jQuery用document.getElementById实现。二者区别:http://www.zhihu.com/question/247022501...
阅读全文
posted @ 2015-09-14 10:44 darr
阅读(5099)
评论(0)
推荐(0)
2015年9月9日
zepto window onload
摘要: http://www.css88.com/doc/zeptojs_api/#$()
阅读全文
posted @ 2015-09-09 11:17 darr
阅读(518)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
16
下一页
公告