Transpile infodisplay to support older browsers
This commit is contained in:
parent
731d6ce04c
commit
09e5147859
4 changed files with 3 additions and 8 deletions
|
@ -4,7 +4,6 @@
|
|||
<meta charset="utf-8">
|
||||
<title>c-flo info display</title>
|
||||
<script src="/dist/infodisplay.js" type="text/javascript"></script>
|
||||
<script src="infodisplay.js" type="text/javascript"></script>
|
||||
<style>
|
||||
body {
|
||||
margin: 0px;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
const { msgflo } = window.infodisplay;
|
||||
import msgflo from 'msgflo-browser';
|
||||
|
||||
let timeout = null;
|
||||
|
||||
function getRotationUrl(urls, current) {
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
import msgflo from 'msgflo-browser';
|
||||
|
||||
export {
|
||||
msgflo,
|
||||
};
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = {
|
||||
entry: {
|
||||
infoscreens: './index.js',
|
||||
infodisplay: './msgflo.js',
|
||||
infodisplay: './infodisplay/infodisplay.js',
|
||||
},
|
||||
output: {
|
||||
path: __dirname,
|
||||
|
|
Loading…
Reference in a new issue