cleanup: Fixup wrong JSDoc comments

There are a handful of JSDoc comments that are invalid or don't
conform to the configured format. Fix them to remove the last
remaining bit of legacy configuration.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:
Florian Müllner
2023-08-07 03:15:51 +02:00
committed by Marge Bot
parent a42f7c2384
commit ff010a11ab
15 changed files with 119 additions and 170 deletions

View File

@ -47,10 +47,6 @@ export class GnomeShell {
}
/**
* Eval:
* @param {string} code A string containing JavaScript code
* @returns {Array}
*
* This function executes arbitrary code in the main
* loop, and returns a boolean success and
* JSON representation of the object as a string.
@ -60,6 +56,8 @@ export class GnomeShell {
* If evaluation fails, then the return value will be
* [false, JSON.stringify(exception)];
*
* @param {string} code A string containing JavaScript code
* @returns {Array}
*/
Eval(code) {
if (!global.context.unsafe_mode)