[gnome-shell-extensions/wip/fmuellner/lint-ci: 14/17] lib: Mark globals used from other modules as exported



commit b38fd9de6178c271843fd4f90ae2d04c4422b187
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Jan 28 00:01:28 2019 +0100

    lib: Mark globals used from other modules as exported
    
    eslint cannot figure out that those symbols are used from other modules
    via imports, so they trigger unused-variable errors. To fix, explicitly
    mark those symbols as exported.

 lib/convenience.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/lib/convenience.js b/lib/convenience.js
index 4775edd..af0343a 100644
--- a/lib/convenience.js
+++ b/lib/convenience.js
@@ -1,4 +1,5 @@
 /* -*- mode: js; js-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* exported initTranslations getSettings */
 /*
   Copyright (c) 2011-2012, Giovanni Campagna <scampa giovanni gmail com>
 


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