Migrate svg-pan-zoom to npm package

This commit is contained in:
Andrei Andreev 2022-02-05 21:47:00 +03:00
parent c6ced34b3d
commit b459a0ba61
5 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,5 @@
import { CELESTIAL_NAV_DRAW_ORDER } from "../../core/secret-formula/celestials/navigation";
import svgPanZoom from "svg-pan-zoom";
export const BezTestData = {
P0: new Vector(300, 300),

5
package-lock.json generated
View File

@ -9871,6 +9871,11 @@
"has-flag": "^3.0.0"
}
},
"svg-pan-zoom": {
"version": "3.6.1",
"resolved": "https://registry.npmjs.org/svg-pan-zoom/-/svg-pan-zoom-3.6.1.tgz",
"integrity": "sha512-JaKkGHHfGvRrcMPdJWkssLBeWqM+Isg/a09H7kgNNajT1cX5AztDTNs+C8UzpCxjCTRrG34WbquwaovZbmSk9g=="
},
"svg-tags": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz",

View File

@ -14,6 +14,7 @@
"lz-string": "^1.4.4",
"mousetrap": "^1.6.5",
"pako": "^2.0.4",
"svg-pan-zoom": "^3.6.1",
"tween.js": "^16.6.0",
"vue": "^2.6.11",
"vuedraggable": "^2.24.3"

View File

@ -76,7 +76,6 @@
<script type="text/javascript" src="lib/lint.js"></script>
<script type="text/javascript" src="lib/active-line.js"></script>
<script type="text/javascript" src="lib/closebrackets.js"></script>
<script type="text/javascript" src="lib/svg-pan-zoom.min.js"></script>
<script type="text/javascript" src="lib/base64-binary.js"></script>
<script type="text/javascript" src="lib/DragDropTouch.js"></script>
<script type="text/javascript" src="lib/longpress.js"></script>

File diff suppressed because one or more lines are too long