上一页 1 ··· 376 377 378 379 380 381 382 383 384 ··· 494 下一页
摘要: we’ll take a look at the GraphQL Language and write out our first GraphQL Schema. We’ll use the graphql package available to us through npm to parse o 阅读全文
posted @ 2016-12-28 09:07 Zhentiw 阅读(395) 评论(0) 推荐(0)
摘要: By default, Travis will build all branches, tags, and Pull Requests. Because we're building our master branch before we release, we don't need Travis 阅读全文
posted @ 2016-12-23 19:00 Zhentiw 阅读(146) 评论(0) 推荐(0)
摘要: groupBy() is another RxJS operator to create higher order observables. In this lesson we will learn how groupBy works for routing source values into d 阅读全文
posted @ 2016-12-23 02:49 Zhentiw 阅读(311) 评论(0) 推荐(0)
摘要: There are variants of the window operator that allow you to split RxJS observables in different ways. In this lesson we will explore the windowToggle 阅读全文
posted @ 2016-12-22 21:48 Zhentiw 阅读(411) 评论(0) 推荐(0)
摘要: Structural directives enable you to use an element as a template for creating additional elements. Creating structural directives requires a knowledge 阅读全文
posted @ 2016-12-22 21:20 Zhentiw 阅读(256) 评论(0) 推荐(0)
摘要: We take our Promise.all() analogy further by using traversable on a Map(). Then we use two traversals in the same workflow. Traverse is good for maint 阅读全文
posted @ 2016-12-22 20:38 Zhentiw 阅读(188) 评论(0) 推荐(0)
摘要: You can change behaviors of element and @Component properties based on services using @HostBinding in @Directives. This allows you to build @Directive 阅读全文
posted @ 2016-12-22 17:07 Zhentiw 阅读(558) 评论(0) 推荐(0)
摘要: A @Directive is used to add behavior to elements and components in your application. This makes @Directives ideal for behaviors such as "tracking" whi 阅读全文
posted @ 2016-12-22 17:05 Zhentiw 阅读(274) 评论(0) 推荐(0)
摘要: const curry = R.curry((fns, ary) => R.ap(fns, ary)); const applyMultiAndAdd = curry([R.multiply(2), R.add(3)]); const res = applyMultiAndAdd([1,2,3]); console.log(res); //[2, 4, 6, 4, 5, 6] const... 阅读全文
posted @ 2016-12-21 20:48 Zhentiw 阅读(293) 评论(0) 推荐(0)
摘要: We find a couple of DOM nodes that may or may not exist and run a calculation on the page height using applicatives. For example we want to get the ma 阅读全文
posted @ 2016-12-21 18:15 Zhentiw 阅读(181) 评论(0) 推荐(0)
上一页 1 ··· 376 377 378 379 380 381 382 383 384 ··· 494 下一页