上一页 1 ··· 448 449 450 451 452 453 454 455 456 ··· 494 下一页
摘要: Learn how to build a reasonable approximation of the Redux Store in 20 lines. No magic!const counter = (state = 0, action) => { switch (action.type) ... 阅读全文
posted @ 2015-11-26 02:12 Zhentiw 阅读(212) 评论(0) 推荐(0)
摘要: console.clear();const counter = (state = 0, action) => { switch (action.type) { case 'INCREMENT': return state + 1; case 'DECREMENT': ... 阅读全文
posted @ 2015-11-25 03:17 Zhentiw 阅读(1017) 评论(0) 推荐(0)
摘要: Single immutable state tree: Should be just one single javascript object.Describing the changes by action: every change in the application state as ... 阅读全文
posted @ 2015-11-25 03:03 Zhentiw 阅读(212) 评论(0) 推荐(0)
摘要: Recursion is a technique well suited to certain types of tasks. In this first lesson we’ll look at solving a problem that requires the flattening of a... 阅读全文
posted @ 2015-11-24 02:49 Zhentiw 阅读(291) 评论(0) 推荐(0)
摘要: Protractor Page Objects are a recommended for testing your AngularJS applications. Page Objects abstract the interaction between the browser and your ... 阅读全文
posted @ 2015-11-23 02:23 Zhentiw 阅读(314) 评论(0) 推荐(0)
摘要: Protractor is built to interact with AngularJS applications. In this lesson, we will take a look at how Protractor interacts with the application usin... 阅读全文
posted @ 2015-11-23 02:09 Zhentiw 阅读(306) 评论(0) 推荐(0)
摘要: When you create a Form in Angular 2, you can easily get all the values from the Form using ControlGroup and Controls.Bind [ng-form-model] to the form ... 阅读全文
posted @ 2015-11-23 01:29 Zhentiw 阅读(418) 评论(0) 推荐(0)
摘要: Array.from()lets you convert an "iterable" object (AKA anarray-likeobject) to an array. In this lesson, we go over grabbing DOM nodes and turing them ... 阅读全文
posted @ 2015-11-22 23:04 Zhentiw 阅读(280) 评论(0) 推荐(0)
摘要: JSON is a very commonly used data interchange format. Unfortunately while most application domain models are graphs, JSON is designed to model hierarc... 阅读全文
posted @ 2015-11-21 18:56 Zhentiw 阅读(336) 评论(0) 推荐(0)
摘要: $stateProvider .state('landing', { url: '/', views: { 'body@': { ... 阅读全文
posted @ 2015-11-19 04:39 Zhentiw 阅读(431) 评论(0) 推荐(0)
上一页 1 ··· 448 449 450 451 452 453 454 455 456 ··· 494 下一页