You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function helperCreateTreeFunc (handle) {
|
|
return function (obj, iterate, options, context) {
|
|
var opts = options || {}
|
|
var optChildren = opts.children || 'children'
|
|
return handle(null, obj, iterate, context, [], [], optChildren, opts)
|
|
}
|
|
}
|
|
|
|
module.exports = helperCreateTreeFunc
|
|
|