mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 06:02:13 +00:00
Migrate tween.js to npm package
This commit is contained in:
parent
d8896dfd0c
commit
521d1e24c9
@ -1,3 +1,5 @@
|
||||
import TWEEN from "tween.js";
|
||||
|
||||
Vue.component("blob-snowflake", {
|
||||
props: {
|
||||
bounds: Object
|
||||
@ -83,4 +85,4 @@ Vue.component("blob-snowflake", {
|
||||
},
|
||||
template:
|
||||
`<text class="o-blob-snowflake"></text>`
|
||||
});
|
||||
});
|
||||
|
@ -1,3 +1,5 @@
|
||||
import TWEEN from "tween.js";
|
||||
|
||||
Vue.component("tachyon-particle", {
|
||||
props: {
|
||||
bounds: {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { playFabLogin } from "./core/playfab.js";
|
||||
import { DC } from "./core/constants.js";
|
||||
import { SpeedrunMilestones } from "./core/speedrun.js";
|
||||
import TWEEN from "tween.js";
|
||||
|
||||
if (GlobalErrorHandler.handled) {
|
||||
throw new Error("Initialization failed");
|
||||
|
5
package-lock.json
generated
5
package-lock.json
generated
@ -10073,6 +10073,11 @@
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
|
||||
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
|
||||
},
|
||||
"tween.js": {
|
||||
"version": "16.6.0",
|
||||
"resolved": "https://registry.npmjs.org/tween.js/-/tween.js-16.6.0.tgz",
|
||||
"integrity": "sha1-c5EEyTNsxPEe5T+c587eUeZyNiQ="
|
||||
},
|
||||
"type-check": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
|
||||
|
@ -10,6 +10,7 @@
|
||||
"break_infinity.js": "^1.3.0",
|
||||
"core-js": "^3.6.5",
|
||||
"gamma": "^1.0.0",
|
||||
"tween.js": "^16.6.0",
|
||||
"vue": "^2.6.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -73,7 +73,6 @@
|
||||
<script type="text/javascript" src="lib/deepmerge.js"></script>
|
||||
<script type="text/javascript" src="lib/Sortable.min.js"></script>
|
||||
<script type="text/javascript" src="lib/vuedraggable.umd.min.js"></script>
|
||||
<script type="text/javascript" src="lib/Tween.min.js"></script>
|
||||
<script type="text/javascript" src="lib/vue-split-pane.min.js"></script>
|
||||
<script type="text/javascript" src="lib/chevrotain.min.js"></script>
|
||||
<script type="text/javascript" src="lib/codemirror.js"></script>
|
||||
|
2
public/lib/Tween.min.js
vendored
2
public/lib/Tween.min.js
vendored
File diff suppressed because one or more lines are too long
@ -110,7 +110,6 @@
|
||||
<script type="text/javascript" src="lib/vue.js"></script>
|
||||
<script type="text/javascript" src="lib/v-tooltip.min.js"></script>
|
||||
<script type="text/javascript" src="public/lib/vuedraggable.js"></script>
|
||||
<script type="text/javascript" src="lib/Tween.min.js"></script>
|
||||
<script type="text/javascript" src="javascripts/DragDropTouch.js"></script>
|
||||
<script type="text/javascript" src="javascripts/longpress.js"></script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user