codeforamerica / wand

Let's make wizards!
MIT License
6 stars 4 forks source link

Render history #32

Closed mapsam closed 9 years ago

mapsam commented 9 years ago

This PR does a few major things:

There are two new utility functions as well:

  1. wand.util.getNodeObject(nodeId), which is essentially a node search, that returns the entire node object based on Id - currently used in the history renderings
  2. wand.util.createElem(type, className, innerHTML) for simplifying the DOM element creation process - returns a DOM object

This is a pretty big PR, and @bsmithgall asked me to build off of api. Tests are currently not working, and I would be happy to split this into different PR's for the different features (especially since styles come along with this).

wand-visualhistory

mapsam commented 9 years ago

:sob:

bsmithgall commented 9 years ago

I TAKE BACK EVERYTHING I SAID

mapsam commented 9 years ago

YOU CAN'T TAKE IT BACK! NOT NOW!

dontgiveup