check formatting of .js files in aqt/data
mathjax.js did not match //ts:format output
This commit is contained in:
parent
65a35fef55
commit
4e1d57e2d2
@ -38,7 +38,7 @@ filegroup(
|
||||
|
||||
prettier_test(
|
||||
name = "format_check",
|
||||
srcs = glob(["*.ts"]),
|
||||
srcs = glob(["*.ts", "*.js"]),
|
||||
)
|
||||
|
||||
# source files need fixing first
|
||||
|
@ -1,27 +1,27 @@
|
||||
window.MathJax = {
|
||||
tex: {
|
||||
displayMath: [["\\[", "\\]"]],
|
||||
processRefs: false,
|
||||
processEnvironments: false,
|
||||
packages: {
|
||||
"[+]": ["noerrors", "mhchem"],
|
||||
tex: {
|
||||
displayMath: [["\\[", "\\]"]],
|
||||
processRefs: false,
|
||||
processEnvironments: false,
|
||||
packages: {
|
||||
"[+]": ["noerrors", "mhchem"],
|
||||
},
|
||||
},
|
||||
},
|
||||
startup: {
|
||||
typeset: false,
|
||||
pageReady: () => {
|
||||
return MathJax.startup.defaultPageReady();
|
||||
startup: {
|
||||
typeset: false,
|
||||
pageReady: () => {
|
||||
return MathJax.startup.defaultPageReady();
|
||||
},
|
||||
},
|
||||
},
|
||||
options: {
|
||||
renderActions: {
|
||||
addMenu: [],
|
||||
checkLoading: [],
|
||||
options: {
|
||||
renderActions: {
|
||||
addMenu: [],
|
||||
checkLoading: [],
|
||||
},
|
||||
ignoreHtmlClass: "tex2jax_ignore",
|
||||
processHtmlClass: "tex2jax_process",
|
||||
},
|
||||
loader: {
|
||||
load: ["[tex]/noerrors", "[tex]/mhchem"],
|
||||
},
|
||||
ignoreHtmlClass: "tex2jax_ignore",
|
||||
processHtmlClass: "tex2jax_process",
|
||||
},
|
||||
loader: {
|
||||
load: ["[tex]/noerrors", "[tex]/mhchem"],
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user