(property)
| 210 | return result; |
| 211 | } |
| 212 | compare(property) { |
| 213 | return function(a, b) { |
| 214 | var value1 = a[property]; |
| 215 | var value2 = b[property]; |
| 216 | return value1 - value2; |
| 217 | } |
| 218 | } |
| 219 | filename(file, rename = '') { |
| 220 | if (!this.runfile) { |
| 221 | this.runfile = path.basename(file).replace(".js", '').replace(/-/g, '_') |