stuff
This commit is contained in:
parent
bc92231240
commit
b8225c639e
11904 changed files with 1472749 additions and 133 deletions
64
node_modules/mathjax-full/js/output/svg/Wrappers/mfenced.js
generated
vendored
Normal file
64
node_modules/mathjax-full/js/output/svg/Wrappers/mfenced.js
generated
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
"use strict";
|
||||
var __extends = (this && this.__extends) || (function () {
|
||||
var extendStatics = function (d, b) {
|
||||
extendStatics = Object.setPrototypeOf ||
|
||||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||||
return extendStatics(d, b);
|
||||
};
|
||||
return function (d, b) {
|
||||
if (typeof b !== "function" && b !== null)
|
||||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||||
extendStatics(d, b);
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
})();
|
||||
var __values = (this && this.__values) || function(o) {
|
||||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
||||
if (m) return m.call(o);
|
||||
if (o && typeof o.length === "number") return {
|
||||
next: function () {
|
||||
if (o && i >= o.length) o = void 0;
|
||||
return { value: o && o[i++], done: !o };
|
||||
}
|
||||
};
|
||||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.SVGmfenced = void 0;
|
||||
var Wrapper_js_1 = require("../Wrapper.js");
|
||||
var mfenced_js_1 = require("../../common/Wrappers/mfenced.js");
|
||||
var mfenced_js_2 = require("../../../core/MmlTree/MmlNodes/mfenced.js");
|
||||
var SVGmfenced = (function (_super) {
|
||||
__extends(SVGmfenced, _super);
|
||||
function SVGmfenced() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
SVGmfenced.prototype.toSVG = function (parent) {
|
||||
var svg = this.standardSVGnode(parent);
|
||||
this.setChildrenParent(this.mrow);
|
||||
this.mrow.toSVG(svg);
|
||||
this.setChildrenParent(this);
|
||||
};
|
||||
SVGmfenced.prototype.setChildrenParent = function (parent) {
|
||||
var e_1, _a;
|
||||
try {
|
||||
for (var _b = __values(this.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {
|
||||
var child = _c.value;
|
||||
child.parent = parent;
|
||||
}
|
||||
}
|
||||
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
||||
finally {
|
||||
try {
|
||||
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
||||
}
|
||||
finally { if (e_1) throw e_1.error; }
|
||||
}
|
||||
};
|
||||
SVGmfenced.kind = mfenced_js_2.MmlMfenced.prototype.kind;
|
||||
return SVGmfenced;
|
||||
}((0, mfenced_js_1.CommonMfencedMixin)(Wrapper_js_1.SVGWrapper)));
|
||||
exports.SVGmfenced = SVGmfenced;
|
||||
//# sourceMappingURL=mfenced.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue