This fiddle generates the following error using jsviews:
parentNode.tagName.toLowerCase is undefined
This is because tagName is undefined.
The fiddle represents the simplest possible case (using jsviews but not actually binding anything). My actual application contains more complex templates, but they are all generating similar errors.
Rendering the same template with render instead of link works fine.
I doubt this is a bug - what am I missing in the implementation?
Updated fiddle: http://jsfiddle.net/ejJZc/13/
See here for how to use the JsViews
link()
method - and how it relates to the JsRenderrender()
method:http://www.jsviews.com/#jsvplaying