Skip to content

global in not defined #259

@aladdin-add

Description

@aladdin-add

var SERVER_RENDERED = typeof navigator === 'undefined' || global['PREVENT_CODEMIRROR_RENDER'] === true;

this line will cause error in browsers(no webpack bundled). would it be possible to change to:

(typeof global !== 'undefined' && global['PREVENT_CODEMIRROR_RENDER'] === true)

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