Skip to content

Instantly share code, notes, and snippets.

View juanmf's full-sized avatar
💭
I may be slow to respond.

Juan Manuel Fernandez juanmf

💭
I may be slow to respond.
View GitHub Profile
/*
* I needed it 'cause I have a generic js to add embeded subForms to a Form
* appending the prototype upon AddButton JQuery click event. So to add event
* bindings to one of the controls generated out of the prototype template, which
* is unknown to the js that adds it, I fire a message like "prototype_just_added"
* and the specific js catches it and binds the event.
*/
/*
* MediatorPatter implementaton to allow for some behavior extensions.