summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2020-02-01 18:52:03 +0100
committerPhilip Chimento <philip.chimento@gmail.com>2020-02-01 18:52:03 +0100
commit4f4b59f79b4912e2a0fb6c080d66464e442afcfc (patch)
treee88f0144b2ae1b9d5a81f2d5d302829e962b0fee /examples
parent20df1e9b1fd5459c8b5d2b00353fc349cc8e5f82 (diff)
downloadgjs-4f4b59f79b4912e2a0fb6c080d66464e442afcfc.tar.gz
maint: Fix eslint errors
Apparently eslint has fixed some oversights in its dangling comma detection.
Diffstat (limited to 'examples')
-rw-r--r--examples/gtk-application.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/gtk-application.js b/examples/gtk-application.js
index d4893a7b..483a5ea5 100644
--- a/examples/gtk-application.js
+++ b/examples/gtk-application.js
@@ -20,7 +20,7 @@ var ExampleApplication = GObject.registerClass({
'ExampleProperty', // nickname
'An example read write property', // description
GObject.ParamFlags.READWRITE, // read/write/construct...
- '' // implement defaults manually
+ '', // implement defaults manually
),
},
Signals: {'examplesig': {param_types: [GObject.TYPE_INT]}},
@@ -98,7 +98,7 @@ var ExampleApplication = GObject.registerClass({
notif.set_title('Example Notification');
notif.set_body('Example Body');
notif.set_icon(
- new Gio.ThemedIcon({name: 'dialog-information-symbolic'})
+ new Gio.ThemedIcon({name: 'dialog-information-symbolic'}),
);
// A default action for when the body of the notification is clicked
@@ -107,7 +107,7 @@ var ExampleApplication = GObject.registerClass({
// A button for the notification
notif.add_button(
'Button Text',
- "app.exampleAction('exampleParameter')"
+ "app.exampleAction('exampleParameter')",
);
// This won't actually be shown, since an application needs a .desktop