[gnome-sound-recorder] added exported variables



commit 8ec5f64e6ab590a114abbf0338ad25733de31fe2
Author: Kavan Mevada <kavanmevada gmail com>
Date:   Fri May 29 16:44:58 2020 +0530

    added exported variables

 src/mainWindow.js    | 5 +----
 src/player.js        | 4 ++--
 src/preferences.js   | 4 ++--
 src/recording.js     | 3 ++-
 src/recordingList.js | 3 ++-
 src/row.js           | 3 ++-
 src/utils.js         | 4 ++--
 7 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 39c6310..db50a8e 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -1,7 +1,4 @@
-/* exported audioProfile displayTime list offsetController
-            play recordPipeline view volumeValue wave ActiveArea
-            RecordPipelineStates _SEC_TIMEOUT MainWindow
-            EncoderComboBox ChannelsComboBox */
+/* exported MainWindow */
 /*
 * Copyright 2013 Meg Ford
 * This library is free software; you can redistribute it and/or
diff --git a/src/player.js b/src/player.js
index ceb5e19..4a52dc6 100644
--- a/src/player.js
+++ b/src/player.js
@@ -1,4 +1,4 @@
-/* exported Play */
+/* exported Player */
 /*
  * Copyright 2013 Meg Ford
  * This library is free software; you can redistribute it and/or
@@ -22,7 +22,7 @@ const Gio = imports.gi.Gio;
 const Gtk = imports.gi.Gtk;
 
 
-var Player = class Player {  // eslint-disable-line no-unused-vars
+var Player = class Player {
     constructor() {
         this.player = Gst.ElementFactory.make('playbin', 'play');
         let sink = Gst.ElementFactory.make('pulsesink', 'sink');
diff --git a/src/preferences.js b/src/preferences.js
index 637267e..bcf8196 100644
--- a/src/preferences.js
+++ b/src/preferences.js
@@ -1,4 +1,4 @@
-/* exported Preferences */
+/* exported settings SettingsDialog */
 /*
 * Copyright 2013 Meg Ford
 * This library is free software; you can redistribute it and/or
@@ -61,7 +61,7 @@ var settings = {
     },
 };
 
-var SettingsDialog = GObject.registerClass({ // eslint-disable-line no-unused-vars
+var SettingsDialog = GObject.registerClass({
     Template: 'resource:///org/gnome/SoundRecorder/ui/preferences.ui',
     InternalChildren: ['formateComboBox', 'channelsComboBox', 'volumeScale', 'microphoneScale'],
 }, class SettingsDialog extends Gtk.Dialog {
diff --git a/src/recording.js b/src/recording.js
index 8fda7d7..6e8838b 100644
--- a/src/recording.js
+++ b/src/recording.js
@@ -1,10 +1,11 @@
+/* exported Recording */
 const GLib = imports.gi.GLib;
 const Gst = imports.gi.Gst;
 const GObject = imports.gi.GObject;
 const GstPbutils = imports.gi.GstPbutils;
 
 
-var Recording = new GObject.registerClass({  // eslint-disable-line no-unused-vars
+var Recording = new GObject.registerClass({
     Properties: {
         'duration': GObject.ParamSpec.int(
             'duration',
diff --git a/src/recordingList.js b/src/recordingList.js
index 2cfde79..2708c39 100644
--- a/src/recordingList.js
+++ b/src/recordingList.js
@@ -1,3 +1,4 @@
+/* exported RecordingList */
 const Gio = imports.gi.Gio;
 const GLib = imports.gi.GLib;
 const GObject = imports.gi.GObject;
@@ -5,7 +6,7 @@ const GObject = imports.gi.GObject;
 const Recording = imports.recording.Recording;
 
 
-var RecordingList = new GObject.registerClass(class RecordingList extends Gio.ListStore {  // 
eslint-disable-line no-unused-vars
+var RecordingList = new GObject.registerClass(class RecordingList extends Gio.ListStore {
     _init() {
         super._init({ });
         this._saveDir = Gio.Application.get_default().saveDir;
diff --git a/src/row.js b/src/row.js
index 275ccf8..2ca4427 100644
--- a/src/row.js
+++ b/src/row.js
@@ -1,3 +1,4 @@
+/* exported Row */
 const GObject = imports.gi.GObject;
 const Handy = imports.gi.Handy;
 
@@ -8,7 +9,7 @@ var RowState = {
     PAUSED: 1,
 };
 
-var Row = GObject.registerClass({ // eslint-disable-line no-unused-vars
+var Row = GObject.registerClass({
     Template: 'resource:///org/gnome/SoundRecorder/ui/row.ui',
     InternalChildren: ['playbackStack', 'action_row', 'playButton', 'pauseButton', 'duration'],
     Signals: {
diff --git a/src/utils.js b/src/utils.js
index 912a5d4..577756c 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -1,4 +1,4 @@
-/* exported OffsetController DisplayTime */
+/* exported Time */
 /*
  * Copyright 2013 Meg Ford
  * This library is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@ const GLib = imports.gi.GLib;
 const _TIME_DIVISOR = 60;
 
 
-var Time = { // eslint-disable-line no-unused-vars
+var Time = {
     formatTime: unformattedTime => {
         this.unformattedTime = unformattedTime;
         let seconds = Math.floor(this.unformattedTime);


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