mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
* Revert "Cleanup domTree.js to re-use code (#1305)"
This reverts commit 9bb48b83f1
.
* Cleanup domTree.js to re-use code
* Extract common constructor/methods into functions
* Remove for...of
* Added eslint rule to disallow for...of
* Remove array destructuring
* Added eslint rule to disallow array destructuring
* Add eslint rule to disallow class inheritance
* Remove Object.keys and Object.assign
* Do not polyfill Object.freeze
* Babel: enable loose mode
* Undo disabling `linebreak-style`
* Move `children` initialization out of `initNode`
* Blacklist files for `no-restricted-syntax`
* Revert "Remove array destructuring"
This reverts commit c9d52c2db31c68cca77fea6ad774ee58b0632ff3.
22 lines
387 B
Plaintext
22 lines
387 B
Plaintext
{
|
|
"presets": [
|
|
["es2015", {
|
|
"modules": false,
|
|
"loose": true
|
|
}],
|
|
"flow"
|
|
],
|
|
"plugins": [
|
|
"transform-runtime",
|
|
"transform-class-properties",
|
|
"version-inline"
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": [
|
|
"transform-es2015-modules-commonjs"
|
|
],
|
|
}
|
|
}
|
|
}
|