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

req.toUrl is undefined #209

Open
crixusshen opened this issue Apr 19, 2016 · 2 comments
Open

req.toUrl is undefined #209

crixusshen opened this issue Apr 19, 2016 · 2 comments

Comments

@crixusshen
Copy link

hi, I used almond, but I encountered a problem.

cssAPI.load = function(cssId, req, load, config) {

(useImportLoad ? importLoad : linkLoad)(req.toUrl(cssId + '.css'), load);

}

Now, toUrl of req.toUrl is undefined, Why???

@crixusshen
Copy link
Author

crixusshen commented Apr 19, 2016

require.js is contain method of toUrl, but almond.js is not contain method of toUrl. Then I should how to support almond

@alundiak
Copy link
Collaborator

alundiak commented Feb 18, 2017

@crixusshen I see PRs #164 #185 are related to toUrl() and I will review and potentially merge PR. And later on, I will update this issue as well. Please reply if u have some fresh issues/notes or any relevant info.

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

No branches or pull requests

2 participants