【文件属性】:
文件名称:underscore.aggregate:underscorejs 的聚合特性
文件大小:29KB
文件格式:ZIP
更新时间:2021-07-11 04:38:23
JavaScript
下划线聚合
聚合功能。
基本示例:
_ ( [
{ level : 'warn' , date : '1999-12-31 23:59' } ,
{ level : 'debug' , date : '2000-01-01 00:00' } ,
{ level : 'warn' , date : '2000-01-01 02:00' } ,
{ level : 'error' , date : '2000-01-01 03:00' } ,
{ level : 'error' , date : '2000-01-01 03:30' }
] )
. $map ( { // transform items for the next stage
level : '$level' ,
date : { $parse : '$dat
【文件预览】:
underscore.aggregate-master
----underscore.aggregate.js(20KB)
----.jshintrc(672B)
----.gitignore(666B)
----gruntfile.js(2KB)
----package.json(1016B)
----karma.conf.js(2KB)
----.travis.yml(103B)
----LICENSE(1KB)
----README.md(25KB)
----underscore.aggregate.min.js(7KB)
----bower.json(755B)
----specs()
--------group.spec.js(6KB)
--------objectify.spec.js(1KB)
--------sort.spec.js(5KB)
--------limit.spec.js(256B)
--------skip.spec.js(253B)
--------examples.spec.js(20KB)
--------match.spec.js(13KB)
--------project.spec.js(19KB)