js: Add JSDoc to exported functions and fix incorrect JSDoc formatting
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499>
This commit is contained in:

committed by
Florian Müllner

parent
4642a8541d
commit
64aa871a8a
@ -39,6 +39,9 @@ if (HAVE_MALCONTENT) {
|
||||
|
||||
let _singleton = null;
|
||||
|
||||
/**
|
||||
* @returns {ParentalControlsManager}
|
||||
*/
|
||||
function getDefault() {
|
||||
if (_singleton === null)
|
||||
_singleton = new ParentalControlsManager();
|
||||
|
Reference in New Issue
Block a user