Jrad
unread,Aug 18, 2010, 9:29:47 AM8/18/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jquery-claypool
Dear Chris,
event.m( {foo:'bar'} ) simply extends the model in claypool MVC, and
this behavior makes some inconsistencies in some cases.
This is a situation where we store an event object, and later want to
flush a new model via event.m() and use the MVC on the event. In this
case, event.m() extends previous model available in the event with the
new one! (not replacing it) and we can't use event.reset() since all
MVC history will be gone!
Are we miss-using the claypool API or we need an event.resetModel()
function? or may be changing the default behavior of event.m() ?
Thanks for your always attention to your clients,