added seed random, fixed merge compeltely

This commit is contained in:
Jack 2020-12-26 19:09:44 +00:00
parent 915cf6fdc1
commit 3101faafc5
4 changed files with 8 additions and 2 deletions

View file

@ -19,6 +19,7 @@ let eslintConfig = {
"moment",
"html2canvas",
"ClipboardItem",
"io",
],
envs: ["es6", "browser", "node"],
rules: {

5
package-lock.json generated
View file

@ -7511,6 +7511,11 @@
}
}
},
"seedrandom": {
"version": "3.0.5",
"resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-3.0.5.tgz",
"integrity": "sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg=="
},
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",

View file

@ -46,6 +46,7 @@
"chart.js": "^2.9.4",
"chartjs-plugin-annotation": "^0.5.7",
"chartjs-plugin-trendline": "^0.2.2",
"seedrandom": "^3.0.5",
"socket.io-client": "^3.0.4"
}
}

View file

@ -3,8 +3,7 @@
import Chart from "chart.js";
import chartTrendline from "chartjs-plugin-trendline";
import chartAnnotation from "chartjs-plugin-annotation";
import io from "socket.io-client";
import seedrandom from "seedrandom";
Chart.plugins.register(chartTrendline);
Chart.plugins.register(chartAnnotation);