Skip to content

require.js Error: Mismatched anonymous define() module  #1218

Closed

Activity

  1. facelessuser commented on Apr 30, 2017

    @facelessuser
    Contributor
  2. waylan commented on Apr 30, 2017

    @waylan
    Contributor

    This is better suited for the repo containing SuperFences.

    I agree. Please follow up there.

  3. lierisme commented on May 2, 2017

    @lierisme
    Author

    Thank you for your.

  4. facelessuser commented on May 2, 2017

    @facelessuser
    Contributor

    @waylan I do think this might need some kind of fix in the default mkdocs theme. It appears some scripts don't play nice with being loaded after require.js and the mkdocs theme loads all extra scripts after require.js. I'm not sure if and how you'd guys would approach this, but the current setup limits what can be loaded in extra javascript. So feel free to reopen this if needed, but this seems to be an issue that can only be worked around by overriding the mkdocs theme base.html. See comment facelessuser/pymdown-extensions#67 (comment).

  5. reopened this on May 2, 2017
  6. waylan commented on May 2, 2017

    @waylan
    Contributor

    IIRC, we only use require.js for search, which is getting a refactor. I had every intention of trying to remove the dependency on require.js in the refactor. This is another reason to add to the list. See Search Refactor for more info.

  7. changed the title [-]use 'pymdownx.superfences':Mismatched anonymous define() module [/-] [+]require.js Error: Mismatched anonymous define() module [/+] on May 2, 2017
  8. facelessuser commented on May 2, 2017

    @facelessuser
    Contributor

    Removing require.js is exactly what I would suggest. Seems like it would just be a pain to expect everyone to work around it. Sounds like a great module if you plan to build everything around it, but not so much for a generalized template where you don't know what the user is going to try to pair with it.

    Thanks!

  9. added a commit that references this issue on Jan 31, 2018
    2c544d6
  10. added this to the 1.0.0 milestone on Feb 6, 2018
  11. added a commit that references this issue on Feb 27, 2018
    f47a1b7
  12. added a commit that references this issue on Mar 6, 2018
    dd7e2d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions