mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38: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
@@ -268,5 +268,6 @@ function fftImage(image) {
|
||||
// Create a new matrix of preconfigured dimensions, initialized to zero
|
||||
function createMatrix() {
|
||||
const array = new Float64Array(alignWidth * alignHeight);
|
||||
/* eslint-disable-next-line new-cap */
|
||||
return new ndarray(array, [alignWidth, alignHeight]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user