diff --git a/.eslintrc b/.eslintrc index 1c90b8e..41a4e00 100644 --- a/.eslintrc +++ b/.eslintrc @@ -22,6 +22,7 @@ globals: jsc: false jsdom: true kjua: true + WebCrypto: true # http://eslint.org/docs/rules/ rules: diff --git a/js/privatebin.js b/js/privatebin.js index 412e31f..cdfce54 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -9,19 +9,10 @@ * @version 1.3 * @name PrivateBin * @namespace + * + * global Base64, DOMPurify, FileReader, RawDeflate, history, navigator, prettyPrint, prettyPrintOne, showdown, kjua */ -/** global: Base64 */ -/** global: DOMPurify */ -/** global: FileReader */ -/** global: RawDeflate */ -/** global: history */ -/** global: navigator */ -/** global: prettyPrint */ -/** global: prettyPrintOne */ -/** global: showdown */ -/** global: kjua */ - jQuery.fn.draghover = function() { return this.each(function() { let collection = $(), diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 45de8a8..338cf40 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -71,7 +71,7 @@ if ($MARKDOWN): endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index c93423d..567f4bb 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -49,7 +49,7 @@ if ($MARKDOWN): endif; ?> - +