Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Highlight.js example partially works #9

Open

Description

@marco76

It works on chrome macosx but fail in other environments and on mobile.
Error:
TypeError: Cannot set property 'lastIndex' of undefined
at highlight (vendor.2fd8580….js:145)

possible polyfills problem?

Activity

  1. marco76 commented on Feb 17, 2017

    @marco76
    OwnerAuthor

    Same problem on Chrome/Windows: TypeError: Cannot set property 'lastIndex' of undefined
    at highlight (vendor.e88aecd….js:145)
    at Object.highlightBlock (vendor.e88aecd….js:145)
    at HighlightCodeDirective.ngAfterViewInit (app.e88aecd….js:8)

  2. self-assigned this
    on Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions