@mathjax/generic-font
Version:
Generic font for MathJax v4
51 lines • 1.82 kB
JavaScript
;
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 __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommonGenericFontMixin = CommonGenericFontMixin;
function CommonGenericFontMixin(Base) {
var _a;
return _a = (function (_super) {
__extends(class_1, _super);
function class_1() {
return _super !== null && _super.apply(this, arguments) || this;
}
return class_1;
}(Base)),
_a.defaultAccentMap = {
0x005E: '\u02C6',
0x007E: '\u02DC',
0x0300: '\u02CB',
0x0301: '\u02CA',
0x0302: '\u02C6',
0x0303: '\u02DC',
0x0304: '\u02C9',
0x0306: '\u02D8',
0x0307: '\u02D9',
0x0308: '\u00A8',
0x030A: '\u02DA',
0x030C: '\u02C7',
0x2192: '\u20D7'
},
_a.defaultSizeVariants = [
'normal'
],
_a.defaultStretchVariants = [
'normal'
],
_a;
}
//# sourceMappingURL=common.js.map