Skip to content

Uncaught error when loading UMD bundle #6

@kiejo

Description

@kiejo

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.

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