[gnome-shell-extensions/wip/fmuellner/lint-ci: 14/18] lib: Mark globals used from other modules as exported
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/wip/fmuellner/lint-ci: 14/18] lib: Mark globals used from other modules as exported
- Date: Mon, 28 Jan 2019 05:53:29 +0000 (UTC)
commit 208130967946f99c0a930696f8824cdc35952761
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.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/50
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]