JAVASCRIPT   39
global js
Guest on 26th May 2023 01:03:07 PM


  1. import Core from '@wiris/mathtype-html-integration-devkit/src/core.src.js';
  2. import Parser from '@wiris/mathtype-html-integration-devkit/src/parser.js';
  3. import Util from '@wiris/mathtype-html-integration-devkit/src/util.js';
  4. import Image from '@wiris/mathtype-html-integration-devkit/src/image.js';
  5. import Configuration from '@wiris/mathtype-html-integration-devkit/src/configuration.js';
  6. import Listeners from '@wiris/mathtype-html-integration-devkit/src/listeners';
  7. import backwardsLib from '@wiris/mathtype-html-integration-devkit/src/backwardslib.js';
  8. import polyfills from '@wiris/mathtype-html-integration-devkit/src/polyfills.js';
  9. import IntegrationModel from '@wiris/mathtype-html-integration-devkit/src/integrationmodel.js';
  10. import { CKEditor4Integration, instances, currentInstance } from './plugin.src.js';
  11. import Latex from '@wiris/mathtype-html-integration-devkit/src/latex';
  12. import Test from '@wiris/mathtype-html-integration-devkit/src/test';
  13.  
  14. // Expose WirisPlugin variable to the window.
  15. window.WirisPlugin = {
  16.     Core: Core,
  17.     Parser: Parser,
  18.     Image: Image,
  19.     Util: Util,
  20.     Configuration: Configuration,
  21.     Listeners: Listeners,
  22.     IntegrationModel: IntegrationModel,
  23.     currentInstance: currentInstance,
  24.     instances: instances,
  25.     CKEditor4Integration: CKEditor4Integration,
  26.     Latex: Latex,
  27.     Test: Test
  28. }

Raw Paste

Login or Register to edit or fork this paste. It's free.