IMPR: Vanilla JS Datepicker

This commit is contained in:
Tony Air 2021-09-13 00:25:16 +02:00
parent ac43a9bffc
commit caecfd72d9
3 changed files with 24 additions and 23 deletions

View File

@ -83,6 +83,7 @@
"rxjs": "^7.3.0",
"select2": "^4.0.13",
"setimmediate": "^1.0.5",
"vanillajs-datepicker": "^1.1.4",
"youtube-embed": "^1.0.0"
},
"devDependencies": {
@ -94,8 +95,8 @@
"@babel/plugin-syntax-jsx": "^7.14.5",
"@babel/plugin-syntax-top-level-await": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/plugin-transform-typescript": "^7.15.4",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/plugin-transform-typescript": "^7.15.4",
"@babel/preset-env": "^7.15.4",
"@babel/preset-react": "^7.14.5",
"@babel/runtime": "^7.15.4",

View File

@ -1,7 +1,7 @@
import Events from "../_events";
import Consts from "../_consts";
import Events from '../_events';
import Consts from '../_consts';
import "./visibility";
import "./touch";
import "./css-screen-size";
import "./main";
import './visibility';
import './touch';
import './css-screen-size';
import './main';

View File

@ -1,21 +1,21 @@
'use strict';
"use strict";
import '../scss/test-build.scss';
import '@a2nt/meta-lightbox-js/src/js/test-build';
import "../scss/test-build.scss";
import "@a2nt/meta-lightbox-js/src/js/test-build";
import Events from './_events';
import MainUI from './main';
import Events from "./_events";
import MainUI from "./main";
/*
* AJAX functionality
*/
//import "./ajax/links";
import './ajax/online';
import './ajax/lazy-images';
import "./ajax/links";
import "./ajax/online";
import "./ajax/lazy-images";
import './layout';
import "./layout";
import './store';
import "./store";
/*if (process.env.NODEENV === 'development') {
// mocking service worker
@ -51,17 +51,17 @@ function importAll(r) {
}
const images = importAll(
require.context('../img/', false, /\.(png|jpe?g|svg)$/)
require.context("../img/", false, /\.(png|jpe?g|svg)$/)
);
const fontAwesome = importAll(
require.context('font-awesome', false, /\.(otf|eot|svg|ttf|woff|woff2)$/)
require.context("font-awesome", false, /\.(otf|eot|svg|ttf|woff|woff2)$/)
);
if (module.hot) {
module.hot.accept('app.js', () => {
console.log('Accepting the updated printMe module!');
module.hot.accept("app.js", () => {
console.log("Accepting the updated printMe module!");
});
module.hot.accept('app.scss', () => {
console.log('Accepting the updated printMe module!');
module.hot.accept("app.scss", () => {
console.log("Accepting the updated printMe module!");
});
}