Pregunta

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?

¿Fue útil?

Solución

Updated fiddle: http://jsfiddle.net/ejJZc/13/

See here for how to use the JsViews link() method - and how it relates to the JsRender render() method:

http://www.jsviews.com/#jsvplaying

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top