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:
Piro / YUKI Hiroshi 2015-10-11 12:40:17 +09:00
parent f2e07bd5b7
commit 8185bafaae
16 changed files with 16 additions and 16 deletions

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['AutoHideBrowser', 'AutoHideWindow'];
var EXPORTED_SYMBOLS = ['AutoHideBrowser', 'AutoHideWindow'];
const DEBUG = false;

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['TreeStyleTabBase'];
var EXPORTED_SYMBOLS = ['TreeStyleTabBase'];
const Cc = Components.classes;
const Ci = Components.interfaces;

View File

@ -36,7 +36,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['TreeStyleTabBrowser'];
var EXPORTED_SYMBOLS = ['TreeStyleTabBrowser'];
const DEBUG = false;

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['BrowserUIShowHideObserver'];
var EXPORTED_SYMBOLS = ['BrowserUIShowHideObserver'];
var DEBUG = false;

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['TreeStyleTabConstants'];
var EXPORTED_SYMBOLS = ['TreeStyleTabConstants'];
var TreeStyleTabConstants = Object.freeze({
/* attributes */

View File

@ -33,7 +33,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['ContentBridge'];
var EXPORTED_SYMBOLS = ['ContentBridge'];
const DEBUG = false;

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['FullTooltipManager'];
var EXPORTED_SYMBOLS = ['FullTooltipManager'];
const Cc = Components.classes;
const Ci = Components.interfaces;

View File

@ -33,7 +33,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['FullscreenObserver'];
var EXPORTED_SYMBOLS = ['FullscreenObserver'];
Components.utils.import('resource://treestyletab-modules/utils.js');

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['GroupTab'];
var EXPORTED_SYMBOLS = ['GroupTab'];
const Cc = Components.classes;
const Ci = Components.interfaces;

View File

@ -10,7 +10,7 @@
* @url http://github.com/piroor/fxaddonlib-inherit
*/
const EXPORTED_SYMBOLS = ['inherit'];
var EXPORTED_SYMBOLS = ['inherit'];
function toPropertyDescriptors(aProperties) {
var descriptors = {};

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['PseudoTreeBuilder'];
var EXPORTED_SYMBOLS = ['PseudoTreeBuilder'];
const Cc = Components.classes;
const Ci = Components.interfaces;

View File

@ -33,7 +33,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['TabAttributesObserver'];
var EXPORTED_SYMBOLS = ['TabAttributesObserver'];
Components.utils.import('resource://treestyletab-modules/constants.js');

View File

@ -35,7 +35,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['TabbarDNDObserver'];
var EXPORTED_SYMBOLS = ['TabbarDNDObserver'];
const DEBUG = false;

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['TabpanelDNDObserver'];
var EXPORTED_SYMBOLS = ['TabpanelDNDObserver'];
const Cc = Components.classes;
const Ci = Components.interfaces;

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['TreeStyleTabThemeManager'];
var EXPORTED_SYMBOLS = ['TreeStyleTabThemeManager'];
const BASE = 'chrome://treestyletab/skin/';

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ******/
const EXPORTED_SYMBOLS = ['TreeStyleTabWindow'];
var EXPORTED_SYMBOLS = ['TreeStyleTabWindow'];
const Cc = Components.classes;
const Ci = Components.interfaces;