diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2020-02-01 18:52:03 +0100 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2020-02-01 18:52:03 +0100 |
commit | 4f4b59f79b4912e2a0fb6c080d66464e442afcfc (patch) | |
tree | e88f0144b2ae1b9d5a81f2d5d302829e962b0fee | |
parent | 20df1e9b1fd5459c8b5d2b00353fc349cc8e5f82 (diff) | |
download | gjs-4f4b59f79b4912e2a0fb6c080d66464e442afcfc.tar.gz |
maint: Fix eslint errors
Apparently eslint has fixed some oversights in its dangling comma
detection.
-rw-r--r-- | examples/gtk-application.js | 6 | ||||
-rw-r--r-- | installed-tests/js/testTweener.js | 4 |
2 files changed, 5 insertions, 5 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 diff --git a/installed-tests/js/testTweener.js b/installed-tests/js/testTweener.js index 1f6efe57..a674e074 100644 --- a/installed-tests/js/testTweener.js +++ b/installed-tests/js/testTweener.js @@ -282,7 +282,7 @@ describe('Tweener', function () { }, function (obj, val) { obj.x = -val; - } + }, ); var objectA = { @@ -343,7 +343,7 @@ describe('Tweener', function () { function (val) { return [{name: 'x', value: val}, {name: 'y', value: -val}]; - } + }, ); var objectA = { |