monkeytype/src/js/global-dependencies.js
2020-12-03 19:54:13 -05:00

29 lines
781 B
JavaScript

// this file should be concatenated at the top of the legacy js files
import $ from "jquery";
import "jquery-color";
import "jquery-easing";
import "jquery.cookie";
import Chart from "chart.js";
import chartTrendline from "chartjs-plugin-trendline";
import chartAnnotation from "chartjs-plugin-annotation";
Chart.plugins.register(chartTrendline);
Chart.plugins.register(chartAnnotation);
import moment from "moment";
import html2canvas from "html2canvas";
import {
db_getSnapshot,
db_setSnapshot,
db_getUserSnapshot,
db_getUserResults,
db_getUserHighestWpm,
db_getLocalPB,
db_saveLocalPB,
} from "./db";
import { showBackgroundLoader, hideBackgroundLoader } from "./dom-util";
import * as Misc from "./misc";
import * as CloudFunctions from "./cloud-functions";