大象笔记
优化大象笔记的网页加载速度
## 检测神器之百度统计、Chrome Audits
百度统计3.0 - 优化分析 - 网站速度诊断功能能分析出指定页面的加载速度。
;
而在请求时,实际请求的是 ca
Angular Controller
## controller 适合用来做什么
- Set up the initial state of the $scope object.
- Add behavior to the $scope object.
## co
angularjs
## 使用 AngularJS 写前端的节奏
- 初始化代码目录, [angular-seed](https://github.com/angular/angular-seed|angular-seed)
- 按照设计,先把首页 ind
编写我的第一个 React 组件: back2top
主要功能,点击右下角的“返回页首”按钮,自动回到当前网页的头部。
组件源码地址 [back2top on Github](https://github.com/sunzhongwei/back2top)
实际效果参考本页的右下角
React render - 费解的 Uncaught Error
非常简单的一段测试代码,但是一直报错
> Uncaught Error: Minified exception occurred; use the non-minified dev environment for the full e
reactjs
## 为何学习 React
实在无法忍受 BackboneJS View 的 “原始”,于是决定学习一下 Facebook 出品的 React, 然后用 React 替换掉 BackboneJS 的 View。
React 的目标是
jQuery
## What is the difference between jQuery's space and > selectors?
* `>` 是所有的直系子女中符合条件的
* 空格是所有后辈中符合条件的
所以,从逻辑严谨的角