summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEvan Welsh <noreply@evanwelsh.com>2020-06-22 19:31:57 -0500
committerEvan Welsh <noreply@evanwelsh.com>2020-06-22 19:31:57 -0500
commitb8e64a497b81a4c8df80da61bd134f9d485bba97 (patch)
tree7d652982d2e6efc129193cf6b4644d0ab893689e /examples
parentdd1b78504adda331582e9b51a066fab9ffce9238 (diff)
downloadgjs-b8e64a497b81a4c8df80da61bd134f9d485bba97.tar.gz
Update dangling comma eslint rule.
- In ESLint v6, dangling commas on functions are now linted.
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 514b8bdd..e8ea05a4 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...
- 'a default value',
+ 'a default value'
),
},
Signals: {'examplesig': {param_types: [GObject.TYPE_INT]}},
@@ -83,7 +83,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
@@ -92,7 +92,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