上一页 1 ··· 450 451 452 453 454 455 456 457 458 ··· 499 下一页
摘要: Previous, we do composition with objects:const todoApp = (state = {}, action) => { return { todos: todos( state.todos, action ), v... 阅读全文
posted @ 2015-12-22 02:24 Zhentiw 阅读(300) 评论(0) 推荐(0)
摘要: Angualr 1.4:.directive('counter', function counter() { return { scope: {}, restrict: 'EA', transclude: true, bindToController: { cou... 阅读全文
posted @ 2015-12-21 02:26 Zhentiw 阅读(394) 评论(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 阅读(399) 评论(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 阅读(581) 评论(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 阅读(287) 评论(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 阅读(258) 评论(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 阅读(227) 评论(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 阅读(224) 评论(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 阅读(220) 评论(0) 推荐(0)
摘要: Sort can automatically arrange items in an array. In this lesson we look at the basics including how to sort an array of strings alphabetically and th... 阅读全文
posted @ 2015-12-18 02:47 Zhentiw 阅读(206) 评论(0) 推荐(0)
上一页 1 ··· 450 451 452 453 454 455 456 457 458 ··· 499 下一页