These have been moved to the mml element jax.
This commit is contained in:
parent
a9dbd62628
commit
e9ed0a1315
|
@ -638,22 +638,7 @@
|
|||
return false;
|
||||
},
|
||||
CHTMLstretchV: function (h,d) {},
|
||||
CHTMLstretchH: function (w) {},
|
||||
|
||||
CoreParent: function () {
|
||||
var parent = this;
|
||||
while (parent && parent.isEmbellished() &&
|
||||
parent.CoreMO() === this && !parent.isa(MML.math)) {parent = parent.Parent()}
|
||||
return parent;
|
||||
},
|
||||
CoreText: function (parent) {
|
||||
if (!parent) {return ""}
|
||||
if (parent.isEmbellished()) {return parent.CoreMO().data.join("")}
|
||||
while ((parent.isa(MML.mrow) || parent.isa(MML.TeXAtom) ||
|
||||
parent.isa(MML.mstyle) || parent.isa(MML.mphantom)) &&
|
||||
parent.data.length === 1 && parent.data[0]) {parent = parent.data[0]}
|
||||
if (!parent.isToken) {return ""} else {return parent.data.join("")}
|
||||
}
|
||||
CHTMLstretchH: function (w) {}
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user