mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-03 01:41:58 +02:00
Name our classes
In order to not end up with random names prefixed with Gjs_, give each class a proper name, so its easier to inspect and allows usage with UI files
This commit is contained in:
@@ -4,7 +4,9 @@ const WebHelpers = imports.src.webHelpers;
|
||||
|
||||
const { debug } = Debug;
|
||||
|
||||
var WebServer = GObject.registerClass(
|
||||
var WebServer = GObject.registerClass({
|
||||
GTypeName: 'ClapperWebServer',
|
||||
},
|
||||
class ClapperWebServer extends Soup.Server
|
||||
{
|
||||
_init(port)
|
||||
|
Reference in New Issue
Block a user