I'm using require.js to help organize my Backbone.js based application.
I'm trying to figure out the right way to use a 3rd party javascript library that is not AMD compatible with require.js
The library in questions is backbone-tastypie.js. Basically what the library does is monkeypatch some of the prototype methods of Backbone to provide simpler support for the TastyPie Django REST framework. It does this by directly manipulating the Backbone object in the global namespace.
However, since I'm using Backbone.js as a require.js module, it isn't available when this library tries to access it.
How can I go about importing this backbone-tastypie in the scope of Backbone?