make 'names' accept only an array of strings, add warning comments about where new functions should be added

This commit is contained in:
Kevin Barabash
2017-08-26 19:15:40 -04:00
committed by Kevin Barabash
parent 6db61cb219
commit 12399da73d
7 changed files with 28 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ import * as mml from "../buildMathML";
defineFunction({
type: "phantom",
names: "\\phantom",
names: ["\\phantom"],
props: {
numArgs: 1,
},
@@ -38,7 +38,7 @@ defineFunction({
defineFunction({
type: "hphantom",
names: "\\hphantom",
names: ["\\hphantom"],
props: {
numArgs: 1,
},
@@ -79,7 +79,7 @@ defineFunction({
defineFunction({
type: "vphantom",
names: "\\vphantom",
names: ["\\vphantom"],
props: {
numArgs: 1,
},