aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-28 14:10:00 +0300
committerGravatar Vitaly Takmazov2016-07-28 14:10:00 +0300
commit852d6ca2e2b5a61d672d0ef0ac9d3e766aced65e (patch)
tree230e66106d6b72a579dc5504a2df8ee85e97f439
parent1e729a0787540b70ce0fdb160230115a350b1836 (diff)
classList polyfill
-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 f8ab05f3..47fc949a 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 cca9545f..8a9de0df 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;