上一页 1 ··· 419 420 421 422 423 424 425 426 427 ··· 468 下一页
摘要: 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 阅读(225) 评论(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 阅读(288) 评论(0) 推荐(0) 编辑
摘要: Angualr 1.4:.directive('counter', function counter() { return { scope: {}, restrict: 'EA', transclude: true, bindToController: { cou... 阅读全文
posted @ 2015-12-21 02:26 Zhentiw 阅读(382) 评论(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 阅读(386) 评论(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 阅读(564) 评论(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 阅读(271) 评论(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 阅读(250) 评论(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 阅读(220) 评论(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 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Previous post:http://www.cnblogs.com/Answer1215/p/4990418.htmllet input, config, tasks;input = ['dist'];config = { "dist": ["build", "deploy"], "bui... 阅读全文
posted @ 2015-12-18 03:06 Zhentiw 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 419 420 421 422 423 424 425 426 427 ··· 468 下一页