aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www')
-rw-r--r--juick-www/package.json1
-rw-r--r--juick-www/src/main/static/scripts.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/juick-www/package.json b/juick-www/package.json
index f8ab05f3d..47fc949a1 100644
--- a/juick-www/package.json
+++ b/juick-www/package.json
@@ -24,6 +24,7 @@
},
"dependencies": {
"autosize": "^3.0.16",
+ "classlist.js": "^1.1.20150312",
"element-closest": "^2.0.1",
"whatwg-fetch": "^1.0.0"
}
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index cca9545f1..8a9de0df9 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -1,6 +1,7 @@
var autosize = require('autosize');
require('whatwg-fetch');
require('element-closest');
+require('classlist.js');
NodeList.prototype.forEach = Array.prototype.forEach;
HTMLCollection.prototype.forEach = Array.prototype.forEach;