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

Uncaught error when loading UMD bundle #6

Open
kiejo opened this issue Jul 31, 2019 · 0 comments
Open

Uncaught error when loading UMD bundle #6

kiejo opened this issue Jul 31, 2019 · 0 comments

Comments

@kiejo
Copy link

kiejo commented Jul 31, 2019

After upgrading from 1.1.1 to 1.1.2 I receive the following error when loading the UMD bundle (dist/codemirror-mode-elixir.umd.js):

Uncaught TypeError: Cannot read property 'defineMode' of undefined
    at elixir.js:1
    at elixir.js:1
    at elixir.js:1

The issue seems to be that the new version tries to access global.codemirror whereas the old version used global.CodeMirror.

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

1 participant