Skip to content

font.js is written in a non-strict mode #89

@jan-bw

Description

@jan-bw

Uncaught ReferenceError: assignment to undeclared variable WebFontConfig is being raised when importing the assets using the rails importmap with an old version (1.5.2). The fix is fairly simple - var needs to be added in front of the WebFontConfig in the fonts.js

I would open a PR, but there is no branch for the 1.5.2 :)

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