Skip to content

stand-alone iocamljs kernels doesn't like split-lines #5

@samoht

Description

@samoht

It seems stand-alone kernel.foo.js doesn't work with split lines in the code. I got the following error message:

[Error] TypeError: undefined is not a function (evaluating 'string.split(/\r\n?|\n/)')
    (anonymous function) (codemirror.js, line 5481)
    setValue (codemirror.js, line 4689)
    (anonymous function) (codemirror.js, line 4888)
    set_text (codecell.js, line 366)
    fromJSON (codecell.js, line 401)
    fromJSON (notebook.js, line 1556)
    load_notebook_success (notebook.js, line 1742)
    i (jquery.min.js, line 3)
    l (jquery.min.js, line 3)
    fireWith (jquery.min.js, line 3)
    k (jquery.min.js, line 5)
    (anonymous function) (jquery.min.js, line 5)

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