上一页 1 ··· 435 436 437 438 439 440 441 442 443 ··· 494 下一页
摘要: Understanding Immutable.js's Map() and List() structures will likely take you as far as you want to go with immutable programming. They have only smal 阅读全文
posted @ 2016-02-22 15:47 Zhentiw 阅读(237) 评论(0) 推荐(0)
摘要: Immutable.js provides several conversion methods to migrate one structure to another. Each Immutable.js class contains a prefixed "to" method like Map 阅读全文
posted @ 2016-02-22 04:22 Zhentiw 阅读(262) 评论(0) 推荐(0)
摘要: Immutable.js iterables offer the reduce() method, a powerful and often misunderstood functional operator on which map(), filter(), groupBy(), etc. are 阅读全文
posted @ 2016-02-22 03:35 Zhentiw 阅读(287) 评论(0) 推荐(0)
摘要: The Immutable.js Map() is analogous to a Javascript Object or Hash since it is comprised of key-value pairs. The Immutable.js List() is analogous to a 阅读全文
posted @ 2016-02-21 23:37 Zhentiw 阅读(341) 评论(0) 推荐(0)
摘要: Immutable.js offers the fromJS() method to build immutable structures from objects and array. Objects are converted into maps. Arrays are converted in 阅读全文
posted @ 2016-02-21 22:53 Zhentiw 阅读(464) 评论(0) 推荐(0)
摘要: For any reason, there is an error in your code, maybe something like undefined error. Protractor still has all the test cases passing, but our applica 阅读全文
posted @ 2016-02-20 23:37 Zhentiw 阅读(335) 评论(0) 推荐(0)
摘要: Usually we use template languages like Handlebars, JSX, and Jade to create. One simple way we can create our own template language is to write a funct 阅读全文
posted @ 2016-02-20 18:17 Zhentiw 阅读(378) 评论(0) 推荐(0)
摘要: const stores = Immutable.List([ { name: 'Store42', position: { latitude: 61.45, longitude: 23.11, }, address: 'whatever' }, { name: 'Store2', position 阅读全文
posted @ 2016-02-19 20:25 Zhentiw 阅读(428) 评论(0) 推荐(0)
摘要: Testing your AngularJS application on multiple browsers is important, and Protractor offers this ability through the multiCapabilities configuration o 阅读全文
posted @ 2016-02-19 18:49 Zhentiw 阅读(315) 评论(0) 推荐(0)
摘要: Install: npm install -g elementor Then run: webdriver-manager start Lets say if we want to test 'http://angular.github.io/protractor/#/api' page: elem 阅读全文
posted @ 2016-02-19 04:13 Zhentiw 阅读(240) 评论(0) 推荐(0)
上一页 1 ··· 435 436 437 438 439 440 441 442 443 ··· 494 下一页