mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 12:18:39 +00:00
make all classes in domTree.js PascalCase and make them named exports (#1636)
* make all classes in domTree.js PascalCase and make them named exports * add eslint rule to enforce capitalization, fix failures * address feedback
This commit is contained in:
committed by
ylemkimon
parent
ead04e5a29
commit
b2432e8ad2
@@ -31,6 +31,7 @@ const printActualErrorMessage = error => {
|
||||
const {message, stack} = separateMessageFromStack(error.stack);
|
||||
return (
|
||||
'Instead, it threw:\n' +
|
||||
/* eslint-disable-next-line new-cap */
|
||||
RECEIVED_COLOR(
|
||||
` ${message}` +
|
||||
formatStackTrace(
|
||||
|
Reference in New Issue
Block a user