[gnome-sound-recorder] audioProfile: Fix linting



commit 0e672539c6813d890d3696d6598fa9db6d5daf78
Author: Gaurav Agrawal <agrawalgaurav1999 gmail com>
Date:   Tue Mar 3 00:04:37 2020 +0530

    audioProfile: Fix linting

 src/audioProfile.js | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/audioProfile.js b/src/audioProfile.js
index 36fe872..3429a9b 100644
--- a/src/audioProfile.js
+++ b/src/audioProfile.js
@@ -18,15 +18,9 @@
  *
  */
 
-const _ = imports.gettext.gettext;
-const Gio = imports.gi.Gio;
-const GObject = imports.gi.GObject;
 const Gst = imports.gi.Gst;
 const GstPbutils = imports.gi.GstPbutils;
-const Mainloop = imports.mainloop;
 
-const MainWindow = imports.mainWindow;
-const Preferences = imports.preferences;
 
 const comboBoxMap = {
     OGG_VORBIS: 0,
@@ -110,10 +104,10 @@ var AudioProfile = class AudioProfile {
         let suffixName;
 
         if (this._values.audio) {
-            if (this._containerProfile != null)
+            if (this._containerProfile !== null)
                 suffixName = this._containerProfile.get_file_extension();
 
-            if (suffixName == null)
+            if (suffixName === null)
                 suffixName = this.encodingProfile.get_file_extension();
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]