PaulUithol/Backbone-relational — pull request #220 by michaelbrooks (2012-12-04 17:22:48+00:00)
Title: Another attempt at AMD/CommonJS compatibility

Related to pull #215, I took a look at how support for require.js was added in [amdjs/backbone](https://github.com/amdjs/backbone) and tried to recreate the same technique here.

I don't know if this is the best solution, but I thought it might be useful to consider. I've tested it with my requirejs setup and it seems to work, but I can't vouch for the other environments.