Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require.js does not use application.context property #8

Merged
merged 1 commit into from
May 27, 2013

Conversation

huntc
Copy link
Contributor

@huntc huntc commented May 27, 2013

Generated require.js dependencies script ignores application.context property.
For example I have some -Dapplication.context=/my-context, but in generated require.js dependencies fullPath is without context. For example:
fullPath: "/webjars/requirejs/2.1.5/require.js"
but it should be:
fullPath: "/my-context/webjars/requirejs/2.1.5/require.js"

@jamesward
Copy link
Member

cc @huntc

@huntc
Copy link
Contributor

huntc commented May 10, 2013

Sounds like we should enhance the plugin to consider this property also. I'll try and get to this next week if you'd like.

@huntc
Copy link
Contributor

huntc commented May 27, 2013

@ArtemKozlov @jamesward Can you please review my PR? @jamesward Please merge and deploy as appropriate.

@aindlq
Copy link
Author

aindlq commented May 27, 2013

@huntc LGTM

jamesward added a commit that referenced this pull request May 27, 2013
require.js does not use application.context property
@jamesward jamesward merged commit 1dd70c1 into webjars:master May 27, 2013
@jamesward
Copy link
Member

This is released as 2.1.0-2 with a few other changes rolled in.

@jackchi
Copy link

jackchi commented Jan 30, 2014

It still seems to be missing a final "/". Do you have example of this working?

@jamesward
Copy link
Member

@jackchi Can you file another issue for that?

@jackchi
Copy link

jackchi commented Feb 5, 2014

@jamesward done! #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants