balderdashy / mast

UI conventions built on top of Backbone.JS
MIT License
81 stars 14 forks source link

_.normalizeArgs fired multiple times when Mast.component.increment is called. #92

Closed ghernandez345 closed 11 years ago

ghernandez345 commented 11 years ago

.normalizeArgs is fired many times but only appears once in Mast.component.increment. In turn, this causes .changeModel to fire multiple times, which makes the attribute binding run multiple times.

mikermcneil commented 11 years ago

Did we figure out if this was being caused by other set() calls triggering renders? Maybe start by disabling naiveRender?

On Thu, Jan 31, 2013 at 2:12 PM, Gabe Hernandez notifications@github.comwrote:

.normalizeArgs is fired many times but only appears once in Mast.component.increment. In turn, this causes .changeModel to fire multiple times, which makes the attribute binding run multiple times.

— Reply to this email directly or view it on GitHubhttps://github.com/balderdashy/mast/issues/92.

Mike McNeil Founder http://linkd.in/N9jJUz http://twitter.com/mikermcneil http://github.com/mikermcneil

   C      O
  NFI    DEN
  TIA   L i
  nfo  rma
  tion in
   tended
only for t      he addressee(s).

If you are not the intended recipient, empl oyee or agent responsible for delivery to the intended recipient(s), please be aware that any review, dissemination, use,distribut ion or copying of this message and its contents is strictly prohibited. If you receive this email in error, ple ase notify the sender and destroy any paper or electronic copies immediately.