1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 17:57:58 +01:00

Add missing "use strict" pragmas.

This commit is contained in:
Doug Kearns
2010-10-09 21:42:37 +11:00
parent d64eab8f2a
commit 86efd0bb6a
9 changed files with 9 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
/** @scope modules */ /** @scope modules */

View File

@@ -4,7 +4,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
Components.utils.import("resource://gre/modules/utils.js"); // XXX Components.utils.import("resource://gre/modules/utils.js"); // XXX

View File

@@ -3,7 +3,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
// TODO: flesh this out // TODO: flesh this out
const Library = Module("library", { const Library = Module("library", {

View File

@@ -3,7 +3,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
const Player = Module("player", { const Player = Module("player", {
init: function init() { init: function init() {

View File

@@ -4,6 +4,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
const Config = Module("config", ConfigBase, { const Config = Module("config", ConfigBase, {
get visualbellWindow() getBrowser().mPanelContainer, get visualbellWindow() getBrowser().mPanelContainer,

View File

@@ -2,6 +2,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
const Addressbook = Module("addressbook", { const Addressbook = Module("addressbook", {
init: function () { init: function () {

View File

@@ -2,6 +2,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
function Compose() { //{{{ function Compose() { //{{{
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@@ -2,6 +2,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
const Config = Module("config", ConfigBase, { const Config = Module("config", ConfigBase, {
init: function init() { init: function init() {

View File

@@ -2,6 +2,7 @@
// //
// This work is licensed for reuse under an MIT license. Details are // This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file. // given in the LICENSE.txt file included with this file.
"use strict";
const Mail = Module("mail", { const Mail = Module("mail", {
init: function () { init: function () {