Remove duplicate defineFunction invocation for \mathop. (#1701)

This commit is contained in:
Brian Leung
2018-09-05 20:43:23 -07:00
committed by Kevin Barabash
parent 7f7d063e73
commit f71f469d4b

View File

@@ -345,26 +345,6 @@ const singleCharIntegrals: {[string]: string} = {
"\u2230": "\\oiiint",
};
defineFunction({
type: "op",
names: ["\\mathop"],
props: {
numArgs: 1,
},
handler: ({parser}, args) => {
const body = args[0];
return {
type: "op",
mode: parser.mode,
limits: false,
symbol: false,
body: ordargument(body),
};
},
htmlBuilder,
mathmlBuilder,
});
// No limits, not symbols
defineFunction({
type: "op",