SitePen/dstore — pull request #56 by kfranqueiro (2014-10-14 03:50:48+00:00)
Title: Tree: Make parent and hasChildren properties configurable

While one could argue Tree is a simple reference implementation, it is perfectly usable as a mixin for hierarchical data when the parent-child relationship is tied by parent IDs.

Allowing the `parent` and `hasChildren` properties to be customized gives this even more mileage, rather than forcing services or client-side code to massage them to those specific names to work with this mixin.

Includes updates to Tree tests.