Skip to content

Incompatibility with use.js #2

@iaincarsberg

Description

@iaincarsberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions