Skip to content

req.toUrl is undefined #209

Open
Open

Description

@crixusshen

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???

Activity

  1. crixusshen commented on Apr 19, 2016

    @crixusshen
    Author

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

  2. alundiak commented on Feb 18, 2017

    @alundiak
    Collaborator

    @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

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