From 0e732a7d41fae2c9724c54f5e8516c304e09c7a5 Mon Sep 17 00:00:00 2001 From: Felipe Gasper Date: Tue, 3 Oct 2017 23:16:12 -0400 Subject: [PATCH] Make it work (as well as it may) in Edge --- demo/app.js | 4 ++++ demo/index.html | 7 +++++-- demo/js/formdata.min.js | 1 + demo/js/text-encoding.js | 1 + demo/main.js | 8 +++++--- package.json | 3 +++ 6 files changed, 19 insertions(+), 5 deletions(-) create mode 120000 demo/js/formdata.min.js create mode 120000 demo/js/text-encoding.js diff --git a/demo/app.js b/demo/app.js index 0c137a1d..87c4a6ef 100644 --- a/demo/app.js +++ b/demo/app.js @@ -25,6 +25,10 @@ app.get('/zmodemjs/*.js', function(req, res){ res.sendFile(__dirname + req.url); }); +app.get('/js/*.js', function(req, res){ + res.sendFile(__dirname + req.url); +}); + app.post('/terminals', function (req, res) { var cols = parseInt(req.query.cols), rows = parseInt(req.query.rows), diff --git a/demo/index.html b/demo/index.html index 492dca1b..109a7bd3 100644 --- a/demo/index.html +++ b/demo/index.html @@ -13,6 +13,9 @@ + + + @@ -21,7 +24,7 @@