1
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user