[Pkg-mozext-commits] [itsalltext] 89/459: Fixed lint problems.
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:09 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 827262f1f63a5a2e4dcd81dfc9ff5cec16f6e039
Author: Christian Höltje <docwhat at gerf.org>
Date: Wed Jan 31 18:36:00 2007 -0500
Fixed lint problems.
---
chrome/content/itsalltext.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/chrome/content/itsalltext.js b/chrome/content/itsalltext.js
index ec1647f..c0f6151 100644
--- a/chrome/content/itsalltext.js
+++ b/chrome/content/itsalltext.js
@@ -381,7 +381,7 @@ function ItsAllTextOverlay() {
// @todo [high] On edit, let user pick the file extension.
// @todo [idea] allow the user to pick an alternative editor?
self.edit = function(retried) {
- if (typeof(retried) == 'undefined') { retried = false };
+ if (typeof(retried) == 'undefined') { retried = false; }
if (self.node.nodeName != "TEXTAREA") { return; }
var filename = self.write();
self.initial_color = self.node.style.backgroundColor;
@@ -425,17 +425,17 @@ function ItsAllTextOverlay() {
fis.init(self.file, 0x01, parseInt('00400',8), 0);
// MODE_RDONLY | PERM_IRUSR
- var is = Components.
+ var istream = Components.
classes["@mozilla.org/intl/converter-input-stream;1"].
createInstance(Components.interfaces.nsIConverterInputStream);
- is.init(fis, that.getCharset(), 4096, DEFAULT_REPLACEMENT_CHARACTER);
+ istream.init(fis, that.getCharset(), 4096, DEFAULT_REPLACEMENT_CHARACTER);
var str = {};
- while (is.readString(4096, str) !== 0) {
+ while (istream.readString(4096, str) !== 0) {
buffer.push(str.value);
}
- is.close();
+ istream.close();
fis.close();
self.timestamp = self.file.lastModifiedTime;
--
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