From c090f8d27f77976bc381be6af7b56a3d051a8ce8 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 3 Dec 2023 13:41:17 +0100 Subject: [PATCH] fixed comments so that these functions end up on the correct jsdoc page --- js/privatebin.js | 12 ++++++------ tpl/bootstrap.php | 2 +- tpl/page.php | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index f53e5dfc..ba45dc36 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -80,7 +80,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { /** * CryptoData class * - * bundles helper fuctions used in both paste and comment formats + * bundles helper functions used in both paste and comment formats * * @name CryptoData * @class @@ -95,7 +95,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { /** * gets the cipher data (cipher text + adata) * - * @name Paste.getCipherData + * @name CryptoData.getCipherData * @function * @return {Array}|{string} */ @@ -108,7 +108,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { /** * Paste class * - * bundles helper fuctions around the paste formats + * bundles helper functions around the paste formats * * @name Paste * @class @@ -171,7 +171,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { /** * Comment class * - * bundles helper fuctions around the comment formats + * bundles helper functions around the comment formats * * @name Comment * @class @@ -183,7 +183,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { /** * gets the UNIX timestamp of the comment creation * - * @name Paste.getCreated + * @name Comment.getCreated * @function * @return {int} */ @@ -195,7 +195,7 @@ jQuery.PrivateBin = (function($, RawDeflate) { /** * gets the icon of the comment submitter * - * @name Paste.getIcon + * @name Comment.getIcon * @function * @return {string} */ diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index b20edcea..8394d696 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -73,7 +73,7 @@ endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index ddc7a118..7dfedb09 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -51,7 +51,7 @@ endif; ?> - +