Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons

This commit is contained in:
mattwillis@gmail.com 2008-03-12 14:56:59 -07:00
parent cc10446d26
commit 2ac0c39bd4
10 changed files with 10 additions and 10 deletions

View File

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

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ***** */
EXPORTED_SYMBOLS = [ "PluralForm" ];
var EXPORTED_SYMBOLS = [ "PluralForm" ];
/**
* This module provides the PluralForm object which contains a method to figure

View File

@ -41,7 +41,7 @@ const SECONDS_TO_MILLISECONDS = 1000;
const MINUTES_TO_MILLISECONDS = MINUTES_TO_SECONDS * SECONDS_TO_MILLISECONDS;
const HOURS_TO_MILLISECONDS = HOURS_TO_MINUTES * MINUTES_TO_MILLISECONDS;
EXPORTED_SYMBOLS = ["ISO8601DateUtils"];
var EXPORTED_SYMBOLS = ["ISO8601DateUtils"];
debug("*** loading ISO8601DateUtils\n");

View File

@ -51,7 +51,7 @@
* JSON.fromString aren't instanceof Object/Array.
*/
EXPORTED_SYMBOLS = ["JSON"];
var EXPORTED_SYMBOLS = ["JSON"];
// The following code is a loose adaption of Douglas Crockford's code
// from http://www.json.org/json.js (public domain'd)

View File

@ -99,7 +99,7 @@
*/
EXPORTED_SYMBOLS = [ "XPCOMUtils" ];
var EXPORTED_SYMBOLS = [ "XPCOMUtils" ];
const Ci = Components.interfaces;
const Cr = Components.results;

View File

@ -1 +1 @@
EXPORTED_SYMBOLS = [{}];
var EXPORTED_SYMBOLS = [{}];

View File

@ -1 +1 @@
EXPORTED_SYMBOLS = "not an array";
var EXPORTED_SYMBOLS = "not an array";

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ***** */
EXPORTED_SYMBOLS = ["foo", "bar"]
var EXPORTED_SYMBOLS = ["foo", "bar"];
function foo() {
return "foo";

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ***** */
EXPORTED_SYMBOLS = ["baz", "qux"]
var EXPORTED_SYMBOLS = ["baz", "qux"];
function baz() {
return "baz";

View File

@ -34,7 +34,7 @@
*
* ***** END LICENSE BLOCK ***** */
EXPORTED_SYMBOLS = [ "DownloadUtils" ];
var EXPORTED_SYMBOLS = [ "DownloadUtils" ];
/**
* This module provides the DownloadUtils object which contains useful methods