hlship / cascade

Simple, fast, easy web applications in idiomatic Clojure.
http://github.com/hlship/cascade
158 stars 7 forks source link

combine function should check that maps passed to it are actual DOM nodes #32

Closed hlship closed 15 years ago

hlship commented 15 years ago

The DOM node constructor functions should add meta-data to identify the map as a DOM node: { :cascade-dom-node true }

I've had difficult to trace errors where other maps accidentally "leaked" into the DOM tree causing evil problems downstream where the maps didn't fit the mold of the rendering and streaming functions.

hlship commented 15 years ago

Fixed by 5592f6ae827d94a97c01d114ce327d300da4989e