upgraded backboneFixtures

12 views
Skip to first unread message

Charles Hansen

unread,
Jan 8, 2014, 2:20:13 AM1/8/14
to choru...@googlegroups.com
I'm using backbone_fixtures_rails on my current project and had to add a minor tweak to deal with Backbone 1.0 and a few extra things to deal with Jasmine 2.0.  There may have even been something with Rails 4.  I'll hopefully be adding some more functionality here and there.  If anyone ever does upgrade Backbone or Jasmine on Chorus, let me know and I can save you some work.  

Charles

Robbie GIll

unread,
Jan 8, 2014, 11:13:49 AM1/8/14
to choru...@googlegroups.com
Hey Charles - 

We did upgrade to Jasmine 2.0 but ended up copying the backbone_fixtures.js file back into chorus to override the incompatibilities with Jasmine 2.0. Off the top of my head I can't remember the exact reason, but it would be nice to drop this little monkey patch.

Let me know how I can test the updates - I don't see anything here: https://github.com/charleshansen/backbone_fixtures_rails

-Robbie

Charles Hansen

unread,
Jan 9, 2014, 1:22:13 AM1/9/14
to choru...@googlegroups.com
We forked the main backbone_fixtures_rails since I didn't want to break jasmine 1.3 compatibility for Chorus.  I just merged in the changes now that I know you are using Jasmine 2.0.  You'll maybe want to run jasmineSetup in your spec_helper.js outside of the main beforeEach, I had to load the json files synchronously in the newer Jasmine.  Let me know if this is a problem loading the huge number of fixtures in Chorus.


--
You received this message because you are subscribed to the Google Groups "chorus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chorus-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Robbie GIll

unread,
Jan 9, 2014, 8:36:41 PM1/9/14
to choru...@googlegroups.com
Thanks! I'll give it a go when I get some spare time.
Reply all
Reply to author
Forward
0 new messages