require jquery instead of jQuery #78

Open
kentmw opened this Issue Mar 24, 2015 · 2 comments

Projects

None yet

2 participants

kentmw commented Mar 24, 2015

Inside the UMD definition in jquery.formatter.js, it is requiring jquery like:

factory(require('jQuery'));

We should be requiring jquery like:

factory(require('jquery'));

I had to alias the jquery dependency to use the capital letter. I believe the standard for requiring jquery is all lowercase. At least the npm package is lowercase: https://www.npmjs.com/package/jquery

thiagog3 commented Aug 5, 2015

+1

thiagog3 commented Aug 5, 2015

You can provisionally use a map inside your config:

map: {
    '*': {
        jQuery: 'jquery'
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment