mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons
This commit is contained in:
parent
cc10446d26
commit
2ac0c39bd4
@ -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";
|
||||
|
@ -34,7 +34,7 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
EXPORTED_SYMBOLS = [ "DownloadUtils" ];
|
||||
var EXPORTED_SYMBOLS = [ "DownloadUtils" ];
|
||||
|
||||
/**
|
||||
* This module provides the DownloadUtils object which contains useful methods
|
||||
|
Loading…
Reference in New Issue
Block a user