Skip to content

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

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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