diff --git a/package.json b/package.json
index 923d703..162609f 100644
--- a/package.json
+++ b/package.json
@@ -28,11 +28,11 @@
"semistandard": "^12.0.0"
},
"semistandard": {
- "ignore": [ ".cache", ".logs", "app", "templates", "public_html", "hive_*.js", "keyword.group.js" ]
+ "ignore": [ ".cache/", ".logs/", "app/", "templates/", "X-public_html/", "hive_*.js", "keyword.group.js", "bootstrap*", "jquery*" ]
},
"scripts": {
"symlink-js": "ln -s public_html/assets/openessayist/js openessayist-js",
- "test": "semistandard",
+ "test": "semistandard public_html/assets/openessayist/js/open*.js",
"fix": "semistandard --fix"
}
}
diff --git a/public_html/assets/openessayist/js/openessayist.init.js b/public_html/assets/openessayist/js/openessayist.init.js
index d7a86e7..1adbe2e 100644
--- a/public_html/assets/openessayist/js/openessayist.init.js
+++ b/public_html/assets/openessayist/js/openessayist.init.js
@@ -2,11 +2,11 @@
OpenEssayist javascript | © The Open University (IET).
*/
+// eslint-disable-next-line
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
-
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), // eslint-disable-line
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) // eslint-disable-line
+})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');// eslint-disable-line
// From: base.html.twig.
//
-
+
+{#
+#}
{% endblock %}
{% block injectCSS %}