[Pkg-mozext-commits] [itsalltext] 408/459: Added 'use strict'; to all .js files
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository itsalltext.
commit 4baa91d85e9643a4dc6583d72c6a7d3681b7a5e3
Author: Christian Höltje <docwhat at gerf.org>
Date: Mon May 13 21:58:20 2013 -0400
Added 'use strict'; to all .js files
---
src/chrome/content/Color.js | 2 +-
src/chrome/content/badeditor.js | 2 +-
src/chrome/content/cacheobj.js | 4 ++--
src/chrome/content/itsalltext.js | 3 +--
src/chrome/content/monitor.js | 3 +--
src/chrome/content/newextension.js | 1 +
src/chrome/content/preferences.js | 3 +--
7 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/src/chrome/content/Color.js b/src/chrome/content/Color.js
index 8f01499..86ee287 100644
--- a/src/chrome/content/Color.js
+++ b/src/chrome/content/Color.js
@@ -1,4 +1,4 @@
-/*jslint undef: true, nomen: true, evil: false, browser: true, white: true */
+"use strict";
/**
* Author: Lachlan Hunt
* Date: 2005-11-24
diff --git a/src/chrome/content/badeditor.js b/src/chrome/content/badeditor.js
index e050400..eb27ad0 100644
--- a/src/chrome/content/badeditor.js
+++ b/src/chrome/content/badeditor.js
@@ -1,4 +1,4 @@
-/*jslint undef: true, nomen: true, evil: false, browser: true, white: true */
+"use strict";
/**
* Pass back the values that that the user selected.
diff --git a/src/chrome/content/cacheobj.js b/src/chrome/content/cacheobj.js
index ec27b2a..e425981 100644
--- a/src/chrome/content/cacheobj.js
+++ b/src/chrome/content/cacheobj.js
@@ -1,5 +1,4 @@
-/*extern itsalltext, Components */
-/*jslint undef: true, evil: false, browser: true, white: true */
+"use strict";
/*
* It's All Text! - Easy external editing of web forms.
*
@@ -29,6 +28,7 @@ function CacheObj(node) {
doc = node.ownerDocument,
host,
hash,
+ method,
extension;
this.uuid = Math.floor(Math.random()*2000);
diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index e8a4074..227a16f 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -1,5 +1,4 @@
-/*extern Components, Firebug, getBoolPref, openDialog, getBrowser, gBrowser */
-/*jslint undef: true, nomen: true, evil: false, browser: true, white: true */
+"use strict";
// vim: ts=4 sw=4
/*
diff --git a/src/chrome/content/monitor.js b/src/chrome/content/monitor.js
index 6026a0c..8cd97cc 100644
--- a/src/chrome/content/monitor.js
+++ b/src/chrome/content/monitor.js
@@ -1,5 +1,4 @@
-/*extern HTMLDocument, gBrowser, itsalltext */
-/*jslint undef: true, evil: false, browser: true, white: true */
+"use strict";
/*
* It's All Text! - Easy external editing of web forms.
*
diff --git a/src/chrome/content/newextension.js b/src/chrome/content/newextension.js
index 9df2fdf..594c3bb 100644
--- a/src/chrome/content/newextension.js
+++ b/src/chrome/content/newextension.js
@@ -1,3 +1,4 @@
+"use strict";
/**
* Pass back the values that that the user selected.
*/
diff --git a/src/chrome/content/preferences.js b/src/chrome/content/preferences.js
index 58c44b4..7739fa0 100644
--- a/src/chrome/content/preferences.js
+++ b/src/chrome/content/preferences.js
@@ -1,5 +1,4 @@
-/*extern Components, itsalltext */
-/*jslint undef: true, nomen: true, evil: false, browser: true, white: true */
+"use strict";
// @todo [6] [pref] Better strategy for getting the default editor: EDITOR env variable or view_source.editor.path
// @todo [8] [pref] Option to make the textarea uneditable when using editor.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git
More information about the Pkg-mozext-commits
mailing list