随笔分类 -  转载的js

AngularJS 1.2.x 学习笔记(表单校验篇)
摘要:https://my.oschina.net/cokolin/blog/526911 摘要: 本文首发于 blog.csdn.net/vipshop_ebs/article/details/39472873 作者为本人,只是该博客暂停维护转到 OSC 了。 本文主要讲 AngularJS 的表单验证 阅读全文

posted @ 2016-10-28 10:44 dhj 阅读(323) 评论(0) 推荐(0)

npm 重点小结
摘要:npm作为javascript一个用得比较广的包管理工具,已经集成在了node里面,基本一安装node就可以用npm了,十分方便。这里的小结主要沿着官方文档的思路,挑出一些比较重点的,平时常用的部分进行说明,力求清晰与主次分明。 全局与本地安装 本地安装指的是只将包下载到当前项目的node_modu 阅读全文

posted @ 2016-09-20 19:27 dhj 阅读(2238) 评论(0) 推荐(1)

怎么评价Facebook的Relay框架?Meteor.js 是什么?
摘要:http://www.zhihu.com/question/34531232?rf=34500201 Meteor.js 是什么? 作者:陈天链接:http://www.zhihu.com/question/20296322/answer/16089122来源:知乎著作权归作者所有,转载请联系作者获 阅读全文

posted @ 2016-09-09 14:03 dhj 阅读(1187) 评论(0) 推荐(0)

解决跨域问题
摘要:iframe,下面parent得不到父,需要2边都设置document.domain= "taobao.com"; 阅读全文

posted @ 2016-08-17 16:08 dhj 阅读(186) 评论(0) 推荐(0)

深入理解JavaScript系列
摘要:转自http://www.cnblogs.com/TomXu/archive/2011/12/15/2288411.html 深入理解JavaScript系列(1):编写高质量JavaScript代码的基本要点 深入理解JavaScript系列(2):揭秘命名函数表达式 深入理解JavaScript 阅读全文

posted @ 2016-06-23 17:26 dhj 阅读(137) 评论(0) 推荐(0)

WebKit的CSS扩展(WebKit是私有属性)
摘要:http://www.css88.com/webkit/-webkit-touch-callout/ -webkit-tap-highlight-color 是一个 不规范的属性(unsupported WebKit property),它没有出现在 CSS 规范草案中。 当用户点击iOS的Safa 阅读全文

posted @ 2016-06-20 15:57 dhj 阅读(320) 评论(0) 推荐(0)

fastclick 解决js穿透问题
摘要:http://www.tuicool.com/articles/VniQRr http://www.cnblogs.com/MrBackKom/archive/2012/06/26/2564501.html 之前翻译过一篇关于fastclick的快速点击文章http://www.cnblogs.co 阅读全文

posted @ 2016-05-16 19:57 dhj 阅读(698) 评论(0) 推荐(0)

ionic
摘要:ionic是一个用来开发混合手机应用的,开源的,免费的代码库。可以优化html、css和js的性能,构建高效的应用程序,而且还可以用于构建Sass和AngularJS的优化。ionic会是一个可以信赖的框架。 阅读全文

posted @ 2016-04-08 20:13 dhj 阅读(146) 评论(0) 推荐(0)

ajax与HTML5 history pushState/replaceState实例
摘要:http://www.zhangxinxu.com/wordpress/2013/06/html5-history-api-pushstate-replacestate-ajax/ by zhangxinxu from http://www.zhangxinxu.com本文地址:http://www 阅读全文

posted @ 2016-04-06 09:56 dhj 阅读(203) 评论(0) 推荐(0)

关于启用 HTTPS 的一些经验分享
摘要:https://imququ.com/post/sth-about-switch-to-https.html随着国内网络环境的持续恶化,各种篡改和劫持层出不穷,越来越多的网站选择了全站 HTTPS。就在今天,免费提供证书服务的Let's Encrypt项目也正式开放,HTTPS 很快就会成为 WEB... 阅读全文

posted @ 2015-12-07 15:08 dhj 阅读(296) 评论(0) 推荐(0)

es6
摘要:https://code-cartoons.com/a-cartoon-guide-to-flux-6157355ab207https://code-cartoons.com/a-cartoon-intro-to-redux-3afb775501a6flux和reduxhttp://babeljs.... 阅读全文

posted @ 2015-12-02 13:25 dhj 阅读(122) 评论(0) 推荐(0)

[ 学习路线 ] 2015 前端(JS)工程师必知必会 (2)
摘要:http://segmentfault.com/a/1190000002678515?utm_source=Weibo&utm_medium=shareLink&utm_campaign=socialShare上次我写《前端工程师必知必会》已经是三年前了,那是我写过最火的文章了。三年了,我仍然会在T... 阅读全文

posted @ 2015-12-02 13:24 dhj 阅读(187) 评论(0) 推荐(0)

ECMAScript 5(ES5)中bind方法简介备忘
摘要:http://www.cnblogs.com/leejersey/p/4374695.html一直以来对和this有关的东西模糊不清,譬如call、apply等等。这次看到一个和bind有关的笔试题,故记此文以备忘。 bind和call以及apply一样,都是可以改变上下文的this指向的。不同的... 阅读全文

posted @ 2015-11-09 15:41 dhj 阅读(287) 评论(0) 推荐(0)

导航