You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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).
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.
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.
Activity
facelessuser commentedon Apr 30, 2017
This is better suited for the repo containing SuperFences. https://github.com/facelessuser/pymdown-extensions
waylan commentedon Apr 30, 2017
I agree. Please follow up there.
lierisme commentedon May 2, 2017
Thank you for your.
facelessuser commentedon May 2, 2017
@waylan I do think this might need some kind of fix in the default
mkdocstheme. It appears some scripts don't play nice with being loaded afterrequire.jsand themkdocstheme loads all extra scripts afterrequire.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 themkdocsthemebase.html. See comment facelessuser/pymdown-extensions#67 (comment).facelessuser commentedon May 2, 2017
Official statement from require.js on this error: http://requirejs.org/docs/errors.html#mismatch.
waylan commentedon May 2, 2017
IIRC, we only use
require.jsfor search, which is getting a refactor. I had every intention of trying to remove the dependency onrequire.jsin the refactor. This is another reason to add to the list. See Search Refactor for more info.[-]use 'pymdownx.superfences':Mismatched anonymous define() module [/-][+]require.js Error: Mismatched anonymous define() module [/+]facelessuser commentedon May 2, 2017
Removing
require.jsis 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!
Implement fallback for no worker support
Implement fallback for no worker support
Refactor search plugin (#1418)