gigafied/NeedsJS — Issue #2: Incompatibility with use.js
Author: iaincarsberg
Created: 2012-03-05 14:30:20+00:00
State: open

Was testing out your amd loader over my lunch break, not sure if this is the right place for my query, but there is an incompatibility with use.js*, which is an addon for requireJs designed to allow non-amd scripts to be used within an amd context.

Its pretty handy as it allows libraries such as backbone, underscore and jquery to be easily used within an amd context.

I started hacking on it with the goal of getting it working in requirejs and needs but I encountered a bug when calling the nested req function on https://github.com/tbranyen/use.js/blob/master/use.js#L37

I'm not sure if there is something I've over looked, as I only spend 30 minutes playing, or an incompatibility with needs when using a load function which has nested require calls.

* https://github.com/tbranyen/use.js