上一页 1 ··· 445 446 447 448 449 450 451 452 453 ··· 494 下一页
摘要: install Polymer and explore creating our first custom element: bower install polymerindex.html: Polymer include webcomponents-list.j... 阅读全文
posted @ 2015-12-22 03:13 Zhentiw 阅读(258) 评论(0) 推荐(0)
摘要: The combineReducers function we used in previous post:const todoApp = combineReducers({ todos, visibilityFilter});It accepts and object as agruement... 阅读全文
posted @ 2015-12-22 02:57 Zhentiw 阅读(236) 评论(0) 推荐(0)
摘要: Previous, we do composition with objects:const todoApp = (state = {}, action) => { return { todos: todos( state.todos, action ), v... 阅读全文
posted @ 2015-12-22 02:24 Zhentiw 阅读(299) 评论(0) 推荐(0)
摘要: Angualr 1.4:.directive('counter', function counter() { return { scope: {}, restrict: 'EA', transclude: true, bindToController: { cou... 阅读全文
posted @ 2015-12-21 02:26 Zhentiw 阅读(388) 评论(0) 推荐(0)
摘要: ngMessageFormatcan be installed via npm using the following command:$ npm install angular-message-format --saveangular.module('myApp', ['ngMessageForm... 阅读全文
posted @ 2015-12-21 02:07 Zhentiw 阅读(394) 评论(0) 推荐(0)
摘要: ngPluralizeis a directive that displays messages according to en-US localization rules. Person 1: Person 2: Number of People: Without Offset: ... 阅读全文
posted @ 2015-12-21 02:02 Zhentiw 阅读(576) 评论(0) 推荐(0)
摘要: Modernizris a library for detecting whether the user's browsers have certain features and based on the availability, we developers will trigger certai... 阅读全文
posted @ 2015-12-21 01:38 Zhentiw 阅读(283) 评论(0) 推荐(0)
摘要: Array filter creates a new array with all elements that pass the test implemented by the provided function. In this lesson we discuss how only a truth... 阅读全文
posted @ 2015-12-19 02:50 Zhentiw 阅读(257) 评论(0) 推荐(0)
摘要: Using mocha: "devDependencies": { "should": "^5.2.0", "supertest": "^0.15.0" } process.env.A127_ENV = 'test'; var should = require('should'); var requ 阅读全文
posted @ 2015-12-18 15:53 Zhentiw 阅读(226) 评论(0) 推荐(0)
摘要: The interactive pseudo-classes for links (and buttons) allow us to make sure the user knows what elements on the page are interactive and that they ca... 阅读全文
posted @ 2015-12-18 03:14 Zhentiw 阅读(223) 评论(0) 推荐(0)
上一页 1 ··· 445 446 447 448 449 450 451 452 453 ··· 494 下一页