|
@@ -819,11 +819,11 @@ Draw.loadPlugin(function(ui) {
|
|
|
// Hardcoded primitive shape libraries.
|
|
|
// To alter, make changes to the library in the drawio webapp, then 'save' (this downloads the library as XML), and overwrite the file(s) in drawiolibs.
|
|
|
Promise.all([
|
|
|
- fetch("myPlugins/drawiolibs/common.xml"),
|
|
|
- fetch("myPlugins/drawiolibs/ftg.xml"),
|
|
|
- fetch("myPlugins/drawiolibs/pm.xml"),
|
|
|
- fetch("myPlugins/drawiolibs/pt.xml"),
|
|
|
- fetch("myPlugins/drawiolibs/ss.xml"),
|
|
|
+ fetch("myPlugins/shape_libs/common.xml"),
|
|
|
+ fetch("myPlugins/shape_libs/ftg.xml"),
|
|
|
+ fetch("myPlugins/shape_libs/pm.xml"),
|
|
|
+ fetch("myPlugins/shape_libs/pt.xml"),
|
|
|
+ fetch("myPlugins/shape_libs/ss.xml"),
|
|
|
])
|
|
|
.then(all => Promise.all(all.map(response => response.text())))
|
|
|
.then(([common, ftg, pm, pt, ss]) => {
|