amdjs/amdjs-tests — pull request #5 by Jakobo (2012-01-19 05:07:45+00:00)
Title: Adding inject as AMD compliant loader

Hello,

I was going to be sending this to the mailing list as well, but I'd like to formally submit a pull request for inject, a Library we've been working on at LinkedIn for managing our dependencies. At a high level, we wanted a CommonJS compliant loader. Somewhere along the line, we also added in the AMD support, so we'd like to offer it as a listing for a browser side solution that works with both wrapped and unwrapped modules.

Its main features:

* XHR + eval for all functionality
* Uses porthole for cross domain script loading
* localStorage for in-client caching
* AMD compliance for script tag rollups (useful in large payload sites)

We're really proud to be putting this out as a solution for script loading, and want to help get behind some of the standards as they emerge. We are currently passing all tests, but have opted out of the two `plugin` modules.

Feedback is very welcome as we continue to build this out. Our hope is to begin using this at the core of LinkedIn to simplify our JavaScript framework greatly.

Main repository: https://github.com/linkedin/inject