prefs.js example in GJS Overview doesn't work on GNOME 43
In the example code for prefs.js shown in https://gjs.guide/extensions/overview/anatomy.html#prefs-js as:
function init(meta) {
console.debug(`initializing ${meta.metadata.name} Preferences`);
}
This part of code doesn't seem to work under GNOME 43 (Debian) as I tested.
I could get to avoid loading error of this example code by dropping meta
and replacing it with Me
for this part as:
function init() {
console.debug(`initializing ${Me.metadata.name} Preferences`);
}
Is this version issue or some kind of typo?