-
Notifications
You must be signed in to change notification settings - Fork 138
/
index.js
33 lines (29 loc) · 1.05 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* ***************************************************************************************
Creating the base of milsymbol
******************************************************************************************
To import all and have the same functionality as ordinary milsymbol, do the following:
(Or just import the things that you need)
*/
import {
ms, // Base for milsymbol
app6b, // APP6-B
std2525b, // 2525B
std2525c, // 2525C
app6d, // APP6-D
std2525d, // 2525D
std2525e, // 2525E
path2d, // Pollyfill for Path2D in IE or node-canvas
} from "./index.mjs";
ms.addIcons(app6b);
ms.addIcons(std2525b);
ms.addIcons(std2525c);
ms.addIcons(app6d);
ms.addIcons(std2525d);
ms.addIcons(std2525e);
ms.Path2D = path2d;
/* ***************************************************************************************
This draws the symbol octagon, can be good for debugging.
*************************************************************************************** */
//import debug from "./symbolfunctions/debug.js";
//ms.addSymbolPart(debug);
export default ms;