Lazy.js 実践 目次

このエントリーをはてなブックマークに追加

どこまでやれるかはとりあえず置いておいて、Lazy.jsのAPIを実際に使ってみてJSFiddleやらGistやら公開していけたらと思います。
※執筆時点でv0.4.0

Lazy

createWrapper
generate
range
repeat
strict

Sequence

define
async
chunk
compact
concat
consecutive
contains
countBy
dropWhile
each
every
filter
find
findWhere
first
flatten
get
getIterator
groupBy
indexBy
indexOf
initial
intersection
invoke
isEmpty
join
last
lastIndexOf
map
max
memoize
min
none
ofType
pluck
reduce
reduceRight
reject
rest
reverse
shuffle
size
some
sort
sortBy
sortedIndex
sum
takeWhile
tap
toArray
toObject
union
uniq
where
without
zip

ArrayLikeSequence

define
concat
first
get
length
map
pop
rest
reverse
shift
slice

ObjectLikeSequence

define
assign
async
defaults
functions
get
invert
keys
merge
omit
pairs
pick
toArray
toObject
values
watch

StringLikeSequence

define
charAt
charCodeAt
contains
endsWith
first
indexOf
last
lastIndexOf
mapString
match
reverse
split
startsWith
substring
toLowerCase
toUpperCase

GeneratedSequence

each
length

AsyncSequence

contains
each
find
getIterator
indexOf

Iterator

current
moveNext

AsyncHandle

cancel
onComplete
onError

Written on May 20, 2015
このエントリーをはてなブックマークに追加