diff --git a/common/content/abbreviations.js b/common/content/abbreviations.js index 1cd08c87..08294970 100644 --- a/common/content/abbreviations.js +++ b/common/content/abbreviations.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/autocommands.js b/common/content/autocommands.js index 205cf4bf..31c3ad90 100644 --- a/common/content/autocommands.js +++ b/common/content/autocommands.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index d8bc2cd7..ca1bdb00 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ // also includes methods for dealing with keywords and search engines var Bookmarks = Module("bookmarks", { diff --git a/common/content/browser.js b/common/content/browser.js index 1e682e9a..cee3adbc 100644 --- a/common/content/browser.js +++ b/common/content/browser.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/commandline.js b/common/content/commandline.js index f351d939..0e42e41d 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/dactyl.js b/common/content/dactyl.js index bd602330..6321fa3b 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/editor.js b/common/content/editor.js index 9a6c7076..262391ec 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -3,7 +3,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/events.js b/common/content/events.js index ae1f669a..4b1841d9 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/help.js b/common/content/help.js index 9faf7a2a..0bde1ee4 100644 --- a/common/content/help.js +++ b/common/content/help.js @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ function checkFragment() { document.title = document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml", "title")[0].textContent; diff --git a/common/content/hints.js b/common/content/hints.js index 7cfa4fd4..004f9071 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ /** @instance hints */ diff --git a/common/content/history.js b/common/content/history.js index fdaedff1..94985d26 100644 --- a/common/content/history.js +++ b/common/content/history.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ var History = Module("history", { SORT_DEFAULT: "-date", diff --git a/common/content/key-processors.js b/common/content/key-processors.js index 63b27938..e1ba321f 100644 --- a/common/content/key-processors.js +++ b/common/content/key-processors.js @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/mappings.js b/common/content/mappings.js index 7c40ea4e..149f3fb8 100644 --- a/common/content/mappings.js +++ b/common/content/mappings.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/marks.js b/common/content/marks.js index 4454ce17..e32d0c6f 100644 --- a/common/content/marks.js +++ b/common/content/marks.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** * @scope modules diff --git a/common/content/modes.js b/common/content/modes.js index e6a6ccaa..50b2ee5b 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/mow.js b/common/content/mow.js index e9989ef9..770929dd 100644 --- a/common/content/mow.js +++ b/common/content/mow.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ var MOW = Module("mow", { init: function init() { diff --git a/common/content/quickmarks.js b/common/content/quickmarks.js index 23c8f6bd..d2a5627c 100644 --- a/common/content/quickmarks.js +++ b/common/content/quickmarks.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/statusline.js b/common/content/statusline.js index c11fbb8d..8eefc33e 100644 --- a/common/content/statusline.js +++ b/common/content/statusline.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/content/tabs.js b/common/content/tabs.js index 915fb500..41a8ed61 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ /** @scope modules */ diff --git a/common/modules/addons.jsm b/common/modules/addons.jsm index 1d20b0c6..c1e4e335 100644 --- a/common/modules/addons.jsm +++ b/common/modules/addons.jsm @@ -3,7 +3,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/base.jsm b/common/modules/base.jsm index 145c3099..b3a1c9dc 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ var { classes: Cc, interfaces: Ci, results: Cr, utils: Cu } = Components; diff --git a/common/modules/bookmarkcache.jsm b/common/modules/bookmarkcache.jsm index d48f15dd..55328a1f 100644 --- a/common/modules/bookmarkcache.jsm +++ b/common/modules/bookmarkcache.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("bookmarkcache", { diff --git a/common/modules/bootstrap.jsm b/common/modules/bootstrap.jsm index 006c7933..4343ec21 100644 --- a/common/modules/bootstrap.jsm +++ b/common/modules/bootstrap.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/cache.jsm b/common/modules/cache.jsm index cebd562e..c2408467 100644 --- a/common/modules/cache.jsm +++ b/common/modules/cache.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("cache", { diff --git a/common/modules/commands.jsm b/common/modules/commands.jsm index 008945a0..2fdfe780 100644 --- a/common/modules/commands.jsm +++ b/common/modules/commands.jsm @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/completion.jsm b/common/modules/completion.jsm index 5a6488d5..ff9c0917 100644 --- a/common/modules/completion.jsm +++ b/common/modules/completion.jsm @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("completion", { diff --git a/common/modules/config.jsm b/common/modules/config.jsm index 930b24e5..c9c1420f 100644 --- a/common/modules/config.jsm +++ b/common/modules/config.jsm @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ let global = this; Components.utils.import("resource://dactyl/bootstrap.jsm"); diff --git a/common/modules/contexts.jsm b/common/modules/contexts.jsm index ed43c3eb..46819365 100644 --- a/common/modules/contexts.jsm +++ b/common/modules/contexts.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("contexts", { diff --git a/common/modules/dom.jsm b/common/modules/dom.jsm index 909bb986..87249eb5 100644 --- a/common/modules/dom.jsm +++ b/common/modules/dom.jsm @@ -3,7 +3,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("dom", { diff --git a/common/modules/downloads.jsm b/common/modules/downloads.jsm index 2f72662e..e2ece139 100644 --- a/common/modules/downloads.jsm +++ b/common/modules/downloads.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("downloads", { diff --git a/common/modules/finder.jsm b/common/modules/finder.jsm index d4ec5004..26966304 100644 --- a/common/modules/finder.jsm +++ b/common/modules/finder.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("finder", { diff --git a/common/modules/help.jsm b/common/modules/help.jsm index a0cbda4c..d12312bd 100644 --- a/common/modules/help.jsm +++ b/common/modules/help.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("help", { diff --git a/common/modules/highlight.jsm b/common/modules/highlight.jsm index ba935d3e..7d6cfaf0 100644 --- a/common/modules/highlight.jsm +++ b/common/modules/highlight.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("highlight", { diff --git a/common/modules/io.jsm b/common/modules/io.jsm index 10a0897e..5eefcc17 100644 --- a/common/modules/io.jsm +++ b/common/modules/io.jsm @@ -5,7 +5,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/javascript.jsm b/common/modules/javascript.jsm index e690926a..a4d1ab6b 100644 --- a/common/modules/javascript.jsm +++ b/common/modules/javascript.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ let { getOwnPropertyNames } = Object; diff --git a/common/modules/main.jsm b/common/modules/main.jsm index d2a2cf17..2740b66d 100644 --- a/common/modules/main.jsm +++ b/common/modules/main.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/messages.jsm b/common/modules/messages.jsm index a6b22743..bca36699 100644 --- a/common/modules/messages.jsm +++ b/common/modules/messages.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/options.jsm b/common/modules/options.jsm index bcbf32f2..512e304f 100644 --- a/common/modules/options.jsm +++ b/common/modules/options.jsm @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/overlay.jsm b/common/modules/overlay.jsm index 1648bee4..0ccf502c 100644 --- a/common/modules/overlay.jsm +++ b/common/modules/overlay.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/prefs.jsm b/common/modules/prefs.jsm index eb7c1873..202fe1d5 100644 --- a/common/modules/prefs.jsm +++ b/common/modules/prefs.jsm @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/protocol.jsm b/common/modules/protocol.jsm index 6b938f3e..98d8e3bc 100644 --- a/common/modules/protocol.jsm +++ b/common/modules/protocol.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("protocol", { diff --git a/common/modules/sanitizer.jsm b/common/modules/sanitizer.jsm index 38f70cb7..efc0f2de 100644 --- a/common/modules/sanitizer.jsm +++ b/common/modules/sanitizer.jsm @@ -3,7 +3,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ // TODO: // - fix Sanitize autocommand diff --git a/common/modules/services.jsm b/common/modules/services.jsm index 97e25646..d47da247 100644 --- a/common/modules/services.jsm +++ b/common/modules/services.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try { diff --git a/common/modules/storage.jsm b/common/modules/storage.jsm index b7e31fe7..664124e8 100644 --- a/common/modules/storage.jsm +++ b/common/modules/storage.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("storage", { diff --git a/common/modules/styles.jsm b/common/modules/styles.jsm index 1f517aaf..9ee7f628 100644 --- a/common/modules/styles.jsm +++ b/common/modules/styles.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ Components.utils.import("resource://dactyl/bootstrap.jsm"); defineModule("styles", { diff --git a/common/modules/template.jsm b/common/modules/template.jsm index 8e5aca0b..61c64cde 100644 --- a/common/modules/template.jsm +++ b/common/modules/template.jsm @@ -2,7 +2,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ let global = this; Components.utils.import("resource://dactyl/bootstrap.jsm"); diff --git a/common/modules/util.jsm b/common/modules/util.jsm index d01f97f0..9cc4a49e 100644 --- a/common/modules/util.jsm +++ b/common/modules/util.jsm @@ -4,7 +4,7 @@ // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. -"use strict"; +/* use strict */ try {