[gnome-documents/gnome-3-26] preview: Use 'var' for exported constant
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/gnome-3-26] preview: Use 'var' for exported constant
- Date: Thu, 7 Dec 2017 16:47:41 +0000 (UTC)
commit 63fba5aaeedc9faadc6a1b7214868a60979a3732
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Dec 7 14:32:31 2017 +0100
preview: Use 'var' for exported constant
This avoids warnings with GJS 1.50.
https://bugzilla.gnome.org/show_bug.cgi?id=785568
src/preview.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/preview.js b/src/preview.js
index 2cf75c8..a4975dc 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -547,7 +547,7 @@ const PreviewFullscreenToolbar = new Lang.Class({
});
const _AUTO_HIDE_TIMEOUT = 2;
-const PREVIEW_NAVBAR_MARGIN = 30;
+var PREVIEW_NAVBAR_MARGIN = 30;
var PreviewNavControls = new Lang.Class({
Name: 'PreviewNavControls',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]