changes required for jsdoc, adding legacy.js to code coverage

This commit is contained in:
El RIDO
2019-09-22 21:18:19 +02:00
parent 476b9c90e2
commit 71797d1dd4
6 changed files with 12 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
---
include:
- legacy.js
- privatebin.js
reporter:
- text

View File

@@ -6,10 +6,12 @@
* @see {@link https://github.com/PrivateBin/PrivateBin}
* @copyright 2012 Sébastien SAUVAGE ({@link http://sebsauvage.net})
* @license {@link https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License}
* @version 1.3
* @version 1.3.1
* @name Legacy
* @namespace
*
*/
/**
* IMPORTANT NOTICE FOR DEVELOPERS:
* The logic in this file is intended to run in legacy browsers. Avoid any use of:
* - jQuery (doesn't work in older browsers)

View File

@@ -9,10 +9,10 @@
* @version 1.3.1
* @name PrivateBin
* @namespace
*
* global Base64, DOMPurify, FileReader, RawDeflate, history, navigator, prettyPrint, prettyPrintOne, showdown, kjua
*/
// global Base64, DOMPurify, FileReader, RawDeflate, history, navigator, prettyPrint, prettyPrintOne, showdown, kjua
jQuery.fn.draghover = function() {
'use strict';
return this.each(function() {