p3drosola/Backbone.VirtualCollection — pull request #23 by ianmetcalf (2014-02-19 15:53:35+00:00)
Title: Added wrapper to fix amd support

So with the release of Backbone 1.1.1 they finally have AMD compatibility. However, there is currently an issue when using the r.js optimizer and requirejs where window.Backbone isn't set immediately. https://github.com/jashkenas/backbone/issues/2996

The following borrows from their wrapper and cleans up the amd/commonjs support that had already been implemented.