Cannot access dataset deferred unless it's passed in. #131

Closed
alexgraul opened this Issue May 28, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Owner

alexgraul commented May 28, 2012

So to be able to access to the deferred before fetch you need to manually pass it in

new Miso.Dataset({
  data : ...,
  deferred : new _.Deferred()
});

This works but is unnecessary. Deferred should be created on instantiation if not passed in and be accessible. This is needed as promise returned from fetch might be resolved before all its done handlers can be bound.

iros was assigned May 28, 2012

Owner

iros commented May 28, 2012

Will move deferred to instantiation from fetch

iros closed this May 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment