Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a default for classMap. Fixes #1137. #1157

Merged
merged 1 commit into from
Jul 20, 2017

Commits on Jul 7, 2017

  1. Added a default for classMap. Fixes PrismJS#1137.

    When the classMap is accessed, it is undefined, causing this look up to fail. Defaulting it to an empty object provides the right logic.
    https://github.com/PrismJS/prism/blob/16ce4b336d625e13065bfc12ab6d13ac862d6f50/plugins/custom-class/prism-custom-class.js#L25
    Jimmy Miller committed Jul 7, 2017
    Configuration menu
    Copy the full SHA
    d716eba View commit details
    Browse the repository at this point in the history