src/js/widgets/tagCloudWidget.js
branchpopcorn-port
changeset 766 aa26ddaf2556
parent 737 c12b9a11102c
child 829 ae16691d183d
equal deleted inserted replaced
765:fdfd3c92ebac 766:aa26ddaf2556
    32     _words = IriSP._(_words)
    32     _words = IriSP._(_words)
    33         .chain()
    33         .chain()
    34         .map(function(_v, _k) {
    34         .map(function(_v, _k) {
    35             return {
    35             return {
    36                 "word" : _k,
    36                 "word" : _k,
    37                 "count" : _v,
    37                 "count" : _v
    38             }
    38             }
    39         })
    39         })
    40         .filter(function(_v) {
    40         .filter(function(_v) {
    41             return _v.count > 2;
    41             return _v.count > 2;
    42         })
    42         })