1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.AbstractOutputJax = void 0;
- var Options_js_1 = require("../util/Options.js");
- var FunctionList_js_1 = require("../util/FunctionList.js");
- var AbstractOutputJax = (function () {
- function AbstractOutputJax(options) {
- if (options === void 0) { options = {}; }
- this.adaptor = null;
- var CLASS = this.constructor;
- this.options = (0, Options_js_1.userOptions)((0, Options_js_1.defaultOptions)({}, CLASS.OPTIONS), options);
- this.postFilters = new FunctionList_js_1.FunctionList();
- }
- Object.defineProperty(AbstractOutputJax.prototype, "name", {
- get: function () {
- return this.constructor.NAME;
- },
- enumerable: false,
- configurable: true
- });
- AbstractOutputJax.prototype.setAdaptor = function (adaptor) {
- this.adaptor = adaptor;
- };
- AbstractOutputJax.prototype.initialize = function () {
- };
- AbstractOutputJax.prototype.reset = function () {
- var _args = [];
- for (var _i = 0; _i < arguments.length; _i++) {
- _args[_i] = arguments[_i];
- }
- };
- AbstractOutputJax.prototype.getMetrics = function (_document) {
- };
- AbstractOutputJax.prototype.styleSheet = function (_document) {
- return null;
- };
- AbstractOutputJax.prototype.pageElements = function (_document) {
- return null;
- };
- AbstractOutputJax.prototype.executeFilters = function (filters, math, document, data) {
- var args = { math: math, document: document, data: data };
- filters.execute(args);
- return args.data;
- };
- AbstractOutputJax.NAME = 'generic';
- AbstractOutputJax.OPTIONS = {};
- return AbstractOutputJax;
- }());
- exports.AbstractOutputJax = AbstractOutputJax;
- //# sourceMappingURL=OutputJax.js.map
|