Hash :
5400af9e
Author :
Date :
2017-07-20T15:31:14
Added a default for classMap. Fixes #1137. (#1157)
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