Bug 719732 - /*global */ comments in Tilt's codebase add more confusion than help; r=rcampbell

This commit is contained in:
Victor Porof 2012-01-20 13:53:31 +02:00
parent 8e9f827c8d
commit 130c9d59ba
50 changed files with 4 additions and 145 deletions

View File

@ -36,8 +36,6 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
***** END LICENSE BLOCK *****/ ***** END LICENSE BLOCK *****/
/*global Components, Services, TiltGL, TiltUtils, TiltVisualizer */
"use strict"; "use strict";
const Cu = Components.utils; const Cu = Components.utils;

View File

@ -36,8 +36,6 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
***** END LICENSE BLOCK *****/ ***** END LICENSE BLOCK *****/
/*global Components, Services, TiltMath, TiltUtils, mat4 */
"use strict"; "use strict";
const Cc = Components.classes; const Cc = Components.classes;

View File

@ -36,8 +36,6 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
***** END LICENSE BLOCK *****/ ***** END LICENSE BLOCK *****/
/*global Components, TiltUtils */
"use strict"; "use strict";
const Cu = Components.utils; const Cu = Components.utils;

View File

@ -36,8 +36,6 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
***** END LICENSE BLOCK *****/ ***** END LICENSE BLOCK *****/
/*global Components, Services, XPCOMUtils, LayoutHelpers */
"use strict"; "use strict";
const Cc = Components.classes; const Cc = Components.classes;

View File

@ -36,9 +36,6 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
***** END LICENSE BLOCK *****/ ***** END LICENSE BLOCK *****/
/*global Components, Services, ChromeWorker */
/*global TiltGL, TiltMath, EPSILON, vec3, mat4, quat4, TiltUtils */
"use strict"; "use strict";
const Cu = Components.utils; const Cu = Components.utils;
@ -508,7 +505,7 @@ TiltVisualizer.Presenter.prototype = {
* @param {Object} aData * @param {Object} aData
* object containing the necessary mesh verts, texcoord etc. * object containing the necessary mesh verts, texcoord etc.
*/ */
setupMesh: function TVP_setupMesh(aData) /*global TiltVisualizerStyle */ setupMesh: function TVP_setupMesh(aData)
{ {
let renderer = this.renderer; let renderer = this.renderer;

View File

@ -36,8 +36,6 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
***** END LICENSE BLOCK *****/ ***** END LICENSE BLOCK *****/
/*global Components, TiltMath */
"use strict"; "use strict";
const Cu = Components.utils; const Cu = Components.utils;

View File

@ -36,8 +36,6 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
***** END LICENSE BLOCK *****/ ***** END LICENSE BLOCK *****/
/*global self*/
"use strict"; "use strict";
const SIXTEEN_OVER_255 = 16 / 255; const SIXTEEN_OVER_255 = 16 / 255;

View File

@ -36,8 +36,6 @@
* the terms of any one of the MPL, the GPL or the LGPL. * the terms of any one of the MPL, the GPL or the LGPL.
* *
***** END LICENSE BLOCK *****/ ***** END LICENSE BLOCK *****/
/*global self*/
"use strict"; "use strict";
/** /**

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, Tilt */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,10 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, Tilt, EventUtils, InspectorUI */
/*global INITIALIZING, INITIALIZED, DESTROYING, BEFORE_DESTROYED, DESTROYED */
"use strict"; "use strict";
let tabEvents = ""; let tabEvents = "";

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, Tilt, SHOWN, HIDDEN, INITIALIZING, DESTROYING, DESTROYED */
"use strict"; "use strict";
let tab0, tab1; let tab0, tab1;

View File

@ -1,8 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt, Tilt */
"use strict"; "use strict";
let tab0, tab1, tab2; let tab0, tab1, tab2;

View File

@ -1,10 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, EventUtils, Tilt, TiltUtils, TiltVisualizer, InspectorUI */
/*global Ci, INITIALIZING, DESTROYED, INSPECTOR_OPENED */
"use strict"; "use strict";
let id; let id;

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Tilt, TiltUtils, TiltVisualizer */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, EventUtils, Tilt, TiltUtils, InspectorUI, DESTROYED */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, EventUtils, Tilt, TiltUtils, InspectorUI, DESTROYED */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, Tilt, TiltUtils, InspectorUI, DESTROYED */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isApproxVec, waitForExplicitFinish, executeSoon, finish */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, EventUtils, InspectorUI, TiltVisualizer, DESTROYED */
"use strict"; "use strict";
function test() { function test() {
@ -104,7 +100,7 @@ function performTest(canvas, arcball, callback) {
}, Math.random() * 1000); }, Math.random() * 1000);
} }
function cleanup() { /*global gBrowser */ function cleanup() {
info("Cleaning up arcball reset test."); info("Cleaning up arcball reset test.");
Services.obs.removeObserver(cleanup, DESTROYED); Services.obs.removeObserver(cleanup, DESTROYED);

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isApproxVec, waitForExplicitFinish, executeSoon, finish */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, EventUtils, InspectorUI, TiltVisualizer, DESTROYED */
"use strict"; "use strict";
function test() { function test() {
@ -102,7 +98,7 @@ function performTest(canvas, arcball, callback) {
}, Math.random() * 1000); }, Math.random() * 1000);
} }
function cleanup() { /*global gBrowser */ function cleanup() {
info("Cleaning up arcball reset test."); info("Cleaning up arcball reset test.");
Services.obs.removeObserver(cleanup, DESTROYED); Services.obs.removeObserver(cleanup, DESTROYED);

View File

@ -1,8 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isApprox, isApproxVec, vec3, quat4 */
/*global TiltVisualizer */
"use strict"; "use strict";
function cloneUpdate(update) { function cloneUpdate(update) {

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isEqualVec, isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, EventUtils, vec3, mat4, quat4 */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,8 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isApproxVec, isWebGLSupported, createCanvas, TiltGL */
/*global WebGLRenderingContext, WebGLProgram */
"use strict"; "use strict";
let isWebGLAvailable; let isWebGLAvailable;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isApproxVec, isWebGLSupported, createCanvas, TiltGL */
"use strict"; "use strict";
let isWebGLAvailable; let isWebGLAvailable;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isApproxVec, isWebGLSupported, createCanvas, TiltGL */
"use strict"; "use strict";
let isWebGLAvailable; let isWebGLAvailable;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isApproxVec, isWebGLSupported, createCanvas, TiltGL */
"use strict"; "use strict";
let isWebGLAvailable; let isWebGLAvailable;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isWebGLSupported, createCanvas, TiltGL */
"use strict"; "use strict";
let isWebGLAvailable; let isWebGLAvailable;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isWebGLSupported, createCanvas, TiltGL */
"use strict"; "use strict";
let isWebGLAvailable; let isWebGLAvailable;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isnot, info, isWebGLSupported, createCanvas, TiltGL */
"use strict"; "use strict";
let isWebGLAvailable; let isWebGLAvailable;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isnot, info, isWebGLSupported, createCanvas, TiltGL */
"use strict"; "use strict";
let isWebGLAvailable; let isWebGLAvailable;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isApprox, isApproxVec, TiltMath */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isApproxVec, vec3, mat4 */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isApproxVec, mat3 */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isApprox, isApproxVec, mat4 */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isApproxVec, mat4 */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isApprox, isApproxVec, quat4 */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isApproxVec, quat4 */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, InspectorUI, DESTROYED */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, InspectorUI, NODE_REMOVED, DESTROYED */
"use strict"; "use strict";
let presenter; let presenter;

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, InspectorUI, HIGHLIGHTING, UNHIGHLIGHTING, DESTROYED */
"use strict"; "use strict";
let presenter; let presenter;

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, InspectorUI, HIGHLIGHTING, UNHIGHLIGHTING, DESTROYED */
"use strict"; "use strict";
let presenter; let presenter;

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, InspectorUI, HIGHLIGHTING, UNHIGHLIGHTING, DESTROYED */
"use strict"; "use strict";
let presenter; let presenter;

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, TiltUtils */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, TiltUtils */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, TiltUtils */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, gBrowser, TiltUtils */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,8 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, waitForExplicitFinish, finish, gBrowser */
/*global Cu, LayoutHelpers, TiltUtils */
"use strict"; "use strict";
Cu.import("resource:///modules/devtools/LayoutHelpers.jsm"); Cu.import("resource:///modules/devtools/LayoutHelpers.jsm");
@ -60,7 +57,7 @@ function test() {
let nodeCoordinates = LayoutHelpers.getRect( let nodeCoordinates = LayoutHelpers.getRect(
iframe.contentDocument.getElementById("test-div"), iframe.contentWindow); iframe.contentDocument.getElementById("test-div"), iframe.contentWindow);
let frameOffset = LayoutHelpers.getIframeContentOffset(iframe); let frameOffset = LayoutHelpers.getIframeContentOffset(iframe);
let frameRect = iframe.getBoundingClientRect(); let frameRect = iframe.getBoundingClientRect();

View File

@ -1,7 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, isnot, gBrowser, TiltUtils */
"use strict"; "use strict";
let someObject = { let someObject = {

View File

@ -1,8 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, isApproxVec, isTiltEnabled, isWebGLSupported, gBrowser*/
/*global TiltVisualizer */
"use strict"; "use strict";
function test() { function test() {

View File

@ -1,9 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global ok, is, info, waitForExplicitFinish, finish, executeSoon, gBrowser */
/*global isApprox, isTiltEnabled, isWebGLSupported, createTab, createTilt */
/*global Services, EventUtils, TiltUtils, InspectorUI, DESTROYED */
"use strict"; "use strict";
const ZOOM = 2; const ZOOM = 2;

View File

@ -1,8 +1,5 @@
/* Any copyright is dedicated to the Public Domain. /* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */ http://creativecommons.org/publicdomain/zero/1.0/ */
/*global Services, Components, gBrowser, executeSoon, info */
/*global InspectorUI, Tilt, TiltGL, EPSILON */
"use strict"; "use strict";
let tempScope = {}; let tempScope = {};