mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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:
parent
a42f7c2384
commit
ff010a11ab
15 changed files with 119 additions and 170 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue