摘要: Let's take a closer look at how a browser retrieves and acts on scripts.modern browser can parallel downloading 6 files(style sheets && images)at a ti 阅读全文
posted @ 2014-08-12 20:42 Zhentiw 阅读(245) 评论(0) 推荐(0) 编辑
摘要: /** Improve you loop code */ var treasureChest = { goldCoins: 10000, magicalItem : "Crown of Speed", necklaces: ["ruby", "pearl", "sapphire", "diamond 阅读全文
posted @ 2014-08-12 20:26 Zhentiw 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Angular Directive Roll over to load more twitters var app = angular.module("... 阅读全文
posted @ 2014-08-12 19:00 Zhentiw 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Angular Directive I'm content! app.directive('enter', function(){ return function(scope, elem... 阅读全文
posted @ 2014-08-12 17:30 Zhentiw 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Directive://Element directiveapp.directive('superman', function(){ return { restrict: "E", template: "Here I am to save the world!", ... 阅读全文
posted @ 2014-08-12 17:12 Zhentiw 阅读(218) 评论(0) 推荐(0) 编辑