[fix] pass scoped models to cb even if got error #60

Closed
wants to merge 4 commits into
from

2 participants

@rma4ok
DerbyJS member

this gonna throw an error if we get err. because scoped is undefined

model.fetch(..., function(err, scoped){
  model.ref('_scoped', scoped);
});

I don't think that I should do if (err) ... in my every callback if it's not critical for me

@rma4ok
DerbyJS member
  • fix for IE
@nateps

No longer relevant in 0.5

@nateps nateps closed this Jun 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment