@wiris/mathtype-viewer 1.5.0 → 8.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,6 @@ To use the MathType viewer in your page, just include the script `dist/WIRISplug
12
12
 
13
13
  When loading the page now, all MathML and LaTeX formulas should be displayed as images.
14
14
 
15
-
16
15
  ## Properties
17
16
 
18
17
  The MathType viewer admits various properties.
@@ -22,7 +21,7 @@ They can be set like this:
22
21
  ```html
23
22
  <script src="dist/WIRISplugins.js&viewer=image" defer></script>
24
23
  <script>
25
- window.document.addEventListener('viewerLoaded', () => {
24
+ window.document.addEventListener("viewerLoaded", () => {
26
25
  window.viewer.Properties.key1 = value1;
27
26
  window.viewer.Properties.key2 = value2;
28
27
  // ...
@@ -30,7 +29,6 @@ They can be set like this:
30
29
  </script>
31
30
  ```
32
31
 
33
-
34
32
  ## Compilation
35
33
 
36
34
  In case you want to compile the source code, you must install the NPM dependencies and then run Webpack.
@@ -64,7 +62,6 @@ The output will be found in `viewer/dist`.
64
62
 
65
63
  For the whole specification, see [here](docs/spec.md).
66
64
 
67
-
68
65
  ## Privacy policy
69
66
 
70
67
  The [MathType Privacy Policy](https://www.wiris.com/en/mathtype-privacy-policy/?utm_source=npmjs&utm_medium=referral) covers the data processing operations for the MathType users. It is an addendum of the company's general Privacy Policy and the [general Privacy Policy](https://www.wiris.com/en/privacy-policy?utm_source=npmjs&utm_medium=referral) still applies to MathType users.
package/babel.config.js CHANGED
@@ -1,12 +1,13 @@
1
1
  module.exports = {
2
2
  presets: [
3
3
  [
4
- '@babel/preset-env',
4
+ "@babel/preset-env",
5
5
  {
6
6
  targets: {
7
- node: 'current',
7
+ node: "current",
8
8
  },
9
9
  },
10
10
  ],
11
+ "@babel/preset-typescript",
11
12
  ],
12
13
  };