codecombat / treema

jQuery plugin that generates HTML interfaces to edit JSON data defined by json-schema.
http://codecombat.github.io/treema/
MIT License
152 stars 36 forks source link

Split out logic for creating a new node #30

Closed sderickson closed 10 years ago

sderickson commented 10 years ago

Make a factory. Most of the logic will already be split out in #28. Possibly can skip this, just leave the make function as a class function. Decide later.