diff --git a/docs/how-to-create-new-effects.md b/docs/how-to-create-new-effects.md index 03d880e..6d0cc39 100644 --- a/docs/how-to-create-new-effects.md +++ b/docs/how-to-create-new-effects.md @@ -161,7 +161,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var SimpleFade = class SimpleFade { +var SimpleFade = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/Apparition.js b/src/Apparition.js index 0bd2b8f..5a1d5d0 100644 --- a/src/Apparition.js +++ b/src/Apparition.js @@ -27,7 +27,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var Apparition = class Apparition { +var Apparition = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/BrokenGlass.js b/src/BrokenGlass.js index a80648f..d9211ca 100644 --- a/src/BrokenGlass.js +++ b/src/BrokenGlass.js @@ -39,7 +39,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var BrokenGlass = class BrokenGlass { +var BrokenGlass = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/EnergizeA.js b/src/EnergizeA.js index 697b689..1064c7e 100644 --- a/src/EnergizeA.js +++ b/src/EnergizeA.js @@ -29,7 +29,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var EnergizeA = class EnergizeA { +var EnergizeA = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/EnergizeB.js b/src/EnergizeB.js index 0864bc2..0123857 100644 --- a/src/EnergizeB.js +++ b/src/EnergizeB.js @@ -29,7 +29,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var EnergizeB = class EnergizeB { +var EnergizeB = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/Fire.js b/src/Fire.js index cd4f461..d205899 100644 --- a/src/Fire.js +++ b/src/Fire.js @@ -33,7 +33,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var Fire = class Fire { +var Fire = class { // The constructor creates a ShaderFactory which will be used by extension.js to create diff --git a/src/Hexagon.js b/src/Hexagon.js index 285bbd8..75123d2 100644 --- a/src/Hexagon.js +++ b/src/Hexagon.js @@ -30,7 +30,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var Hexagon = class Hexagon { +var Hexagon = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/Matrix.js b/src/Matrix.js index b7bc525..3cc6c23 100644 --- a/src/Matrix.js +++ b/src/Matrix.js @@ -33,7 +33,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var Matrix = class Matrix { +var Matrix = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/ShaderFactory.js b/src/ShaderFactory.js index 2bc132d..e903319 100644 --- a/src/ShaderFactory.js +++ b/src/ShaderFactory.js @@ -24,7 +24,7 @@ const Me = imports.misc.extensionUtils.getCurrentExtension(); // possible in order to avoid memory leaks. // ////////////////////////////////////////////////////////////////////////////////////////// -var ShaderFactory = class ShaderFactory { +var ShaderFactory = class { // Creates a new ShaderFactory. Requires the nick of the effect and a callback function // which will be called whenever a new shader is created. diff --git a/src/SnapOfDisintegration.js b/src/SnapOfDisintegration.js index 27e1be0..499e5a4 100644 --- a/src/SnapOfDisintegration.js +++ b/src/SnapOfDisintegration.js @@ -35,7 +35,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var SnapOfDisintegration = class SnapOfDisintegration { +var SnapOfDisintegration = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/TRexAttack.js b/src/TRexAttack.js index 579f324..a319e4e 100644 --- a/src/TRexAttack.js +++ b/src/TRexAttack.js @@ -31,7 +31,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var TRexAttack = class TRexAttack { +var TRexAttack = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/TVEffect.js b/src/TVEffect.js index c0dbebd..f1cfe5f 100644 --- a/src/TVEffect.js +++ b/src/TVEffect.js @@ -31,7 +31,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var TVEffect = class TVEffect { +var TVEffect = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the diff --git a/src/Wisps.js b/src/Wisps.js index 42a7ea1..bb6919e 100644 --- a/src/Wisps.js +++ b/src/Wisps.js @@ -30,7 +30,7 @@ const ShaderFactory = Me.imports.src.ShaderFactory.ShaderFactory; // The effect class can be used to get some metadata (like the effect's name or supported // GNOME Shell versions), to initialize the respective page of the settings dialog, as // well as to create the actual shader for the effect. -var Wisps = class Wisps { +var Wisps = class { // The constructor creates a ShaderFactory which will be used by extension.js to create // shader instances for this effect. The shaders will be automagically created using the