stunn / jssketch

1 stars 0 forks source link

Model Change Events #32

Closed jstephenson closed 11 years ago

jstephenson commented 11 years ago

At the moment we're doing (I think):

fooModel.on('change', function (key) {
  if (key == 'one we want') { ... }
});

Might we instead consider a more targeted event, like maybe 'fieldname.change'?

mattlunn commented 11 years ago

Isn't this supported by on('change', 'field', fn)?... could have sworn I implemented it like that :P

jstephenson commented 11 years ago

Whoops, me being a noob.