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:
Kevin Barabash
2018-08-19 10:49:21 -04:00
committed by ylemkimon
parent ead04e5a29
commit b2432e8ad2
21 changed files with 90 additions and 82 deletions

View File

@@ -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]);
}