marko-js-archive / marko-widgets

[LEGACY] Module to support binding of behavior to rendered UI components rendered on the server or client
http://v3.markojs.com/docs/marko-widgets/
MIT License
141 stars 40 forks source link

Fixes #112 DOM document should be bound to widget #113

Closed philidem closed 8 years ago

philidem commented 8 years ago

If a widget is rendered to a different frame then the document that is used to find nested widgets and elements should be the document that the widget was rendered to.

This change explicitly provides a document property to a Widget which is used during the initialization process and subsequent nested widget and element lookups.

philidem commented 8 years ago

Propagating document to all of the related method calls was tedious but I think I found them all.