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

Mismatched anonymous define() module #128

Closed
dragoscd opened this issue May 6, 2016 · 3 comments
Closed

Mismatched anonymous define() module #128

dragoscd opened this issue May 6, 2016 · 3 comments
Labels

Comments

@dragoscd
Copy link

dragoscd commented May 6, 2016

I saw that few weeks ago, AMD support has been added to the file from https://svc.webspellchecker.net/spellcheck31/lf/scayt3/ckscayt/ckscayt.js and that cause some conflicts now with RequireJS that we use in the application.
The error appears when I'm leaving the view that contains CKEditor.

require.min.js:3 Uncaught Error: Mismatched anonymous define() module: function(a) { return a.createModule("SaveRestore", ["WrappedSelection"], function(a, b) { function c(a, b) { return (b || document).getElementById(a) } ...
A similar issue has been filed also here: http://dev.ckeditor.com/ticket/14597

http://requirejs.org/docs/errors.html#mismatch

This may be the cause:

function(a, b) { "function" == typeof define && define.amd ? define(rangy-core?, a) : "undefined" != typeof module && "object" == typeof exports ? module.exports = a(require("rangy")) : a(b.rangy) }

@AAbakumov
Copy link
Member

Thank you for provided information. We did manage to reproduce the issue. We're going to include the fix for this issue into upcoming release. We plan to release the WebSpellChecker.net application version 4.8.3.2 by the end of the next week.

@AAbakumov
Copy link
Member

@dragoscd The fix has been released.

@dragoscd
Copy link
Author

Awesome, seems to be working now, thanks!!

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

No branches or pull requests

2 participants