Define global symbol which to be exported, by "var" instead of "const".
This should avoid the issue caused by new behavior of ES6 "const". See also https://bugzilla.mozilla.org/show_bug.cgi?id=1202902
This commit is contained in:
parent
f2e07bd5b7
commit
8185bafaae
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['AutoHideBrowser', 'AutoHideWindow'];
|
var EXPORTED_SYMBOLS = ['AutoHideBrowser', 'AutoHideWindow'];
|
||||||
|
|
||||||
const DEBUG = false;
|
const DEBUG = false;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['TreeStyleTabBase'];
|
var EXPORTED_SYMBOLS = ['TreeStyleTabBase'];
|
||||||
|
|
||||||
const Cc = Components.classes;
|
const Cc = Components.classes;
|
||||||
const Ci = Components.interfaces;
|
const Ci = Components.interfaces;
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['TreeStyleTabBrowser'];
|
var EXPORTED_SYMBOLS = ['TreeStyleTabBrowser'];
|
||||||
|
|
||||||
const DEBUG = false;
|
const DEBUG = false;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['BrowserUIShowHideObserver'];
|
var EXPORTED_SYMBOLS = ['BrowserUIShowHideObserver'];
|
||||||
|
|
||||||
var DEBUG = false;
|
var DEBUG = false;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['TreeStyleTabConstants'];
|
var EXPORTED_SYMBOLS = ['TreeStyleTabConstants'];
|
||||||
|
|
||||||
var TreeStyleTabConstants = Object.freeze({
|
var TreeStyleTabConstants = Object.freeze({
|
||||||
/* attributes */
|
/* attributes */
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['ContentBridge'];
|
var EXPORTED_SYMBOLS = ['ContentBridge'];
|
||||||
|
|
||||||
const DEBUG = false;
|
const DEBUG = false;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['FullTooltipManager'];
|
var EXPORTED_SYMBOLS = ['FullTooltipManager'];
|
||||||
|
|
||||||
const Cc = Components.classes;
|
const Cc = Components.classes;
|
||||||
const Ci = Components.interfaces;
|
const Ci = Components.interfaces;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['FullscreenObserver'];
|
var EXPORTED_SYMBOLS = ['FullscreenObserver'];
|
||||||
|
|
||||||
Components.utils.import('resource://treestyletab-modules/utils.js');
|
Components.utils.import('resource://treestyletab-modules/utils.js');
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['GroupTab'];
|
var EXPORTED_SYMBOLS = ['GroupTab'];
|
||||||
|
|
||||||
const Cc = Components.classes;
|
const Cc = Components.classes;
|
||||||
const Ci = Components.interfaces;
|
const Ci = Components.interfaces;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* @url http://github.com/piroor/fxaddonlib-inherit
|
* @url http://github.com/piroor/fxaddonlib-inherit
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['inherit'];
|
var EXPORTED_SYMBOLS = ['inherit'];
|
||||||
|
|
||||||
function toPropertyDescriptors(aProperties) {
|
function toPropertyDescriptors(aProperties) {
|
||||||
var descriptors = {};
|
var descriptors = {};
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['PseudoTreeBuilder'];
|
var EXPORTED_SYMBOLS = ['PseudoTreeBuilder'];
|
||||||
|
|
||||||
const Cc = Components.classes;
|
const Cc = Components.classes;
|
||||||
const Ci = Components.interfaces;
|
const Ci = Components.interfaces;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['TabAttributesObserver'];
|
var EXPORTED_SYMBOLS = ['TabAttributesObserver'];
|
||||||
|
|
||||||
Components.utils.import('resource://treestyletab-modules/constants.js');
|
Components.utils.import('resource://treestyletab-modules/constants.js');
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['TabbarDNDObserver'];
|
var EXPORTED_SYMBOLS = ['TabbarDNDObserver'];
|
||||||
|
|
||||||
const DEBUG = false;
|
const DEBUG = false;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['TabpanelDNDObserver'];
|
var EXPORTED_SYMBOLS = ['TabpanelDNDObserver'];
|
||||||
|
|
||||||
const Cc = Components.classes;
|
const Cc = Components.classes;
|
||||||
const Ci = Components.interfaces;
|
const Ci = Components.interfaces;
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['TreeStyleTabThemeManager'];
|
var EXPORTED_SYMBOLS = ['TreeStyleTabThemeManager'];
|
||||||
|
|
||||||
const BASE = 'chrome://treestyletab/skin/';
|
const BASE = 'chrome://treestyletab/skin/';
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ******/
|
* ***** END LICENSE BLOCK ******/
|
||||||
|
|
||||||
const EXPORTED_SYMBOLS = ['TreeStyleTabWindow'];
|
var EXPORTED_SYMBOLS = ['TreeStyleTabWindow'];
|
||||||
|
|
||||||
const Cc = Components.classes;
|
const Cc = Components.classes;
|
||||||
const Ci = Components.interfaces;
|
const Ci = Components.interfaces;
|
||||||
|
Loading…
Reference in New Issue
Block a user