SupportBee / Backbone-Factory

A factory for creating backbone objects for testing
86 stars 20 forks source link

Collection factories #1

Open ejosafat opened 12 years ago

ejosafat commented 12 years ago

How do you create Backbone.Collection factories? It seems it only supports Backbone.Model

unamashana commented 12 years ago

No. You can't right now. Do you want to send a patch?

ejosafat commented 12 years ago

I forked the repo and implemented it; I need them for a project. Do you want to have a look? Maybe you won't like my supression of semicolons, but I've landed a job recently where that's the convention, so to get used I've follow same conventions everywhere

ejosafat commented 12 years ago

If you want I can submit a pull request. The code is far from perfect, and needs some refactoring, but I'm very busy now and it works, so...

ream88 commented 12 years ago

Any update on this?

ejosafat commented 12 years ago

Have a look at my fork, please. It might be useful for you; any opinion will be welcome!