Open Sigfried opened 7 years ago
For instance: https://github.com/Sigfried/supergroup/blob/master/supergroup.js#L373 and line 377. Should get rid of both and use a common method, getChildren that returns val[childprop]. Also do same with parent (which will resolve https://github.com/Sigfried/supergroup/issues/5).
getChildren
Added getChildren and hasChildren in https://github.com/Sigfried/supergroup/commit/4749d01d6656ca9667b744475fcebdcfc54cfa29
For instance: https://github.com/Sigfried/supergroup/blob/master/supergroup.js#L373 and line 377. Should get rid of both and use a common method,
getChildren
that returns val[childprop]. Also do same with parent (which will resolve https://github.com/Sigfried/supergroup/issues/5).