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 21:57:00 +00:00
Родитель cc94714d40
Коммит c7dfce802c
11 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

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

Просмотреть файл

@ -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

Просмотреть файл

@ -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");

Просмотреть файл

@ -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)

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

@ -39,7 +39,7 @@
*
* ***** END LICENSE BLOCK ***** */
EXPORTED_SYMBOLS = ["Sanitizer"];
var EXPORTED_SYMBOLS = ["Sanitizer"];
var Sanitizer = {
get _prefs() {

Просмотреть файл

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