[Pkg-mozext-commits] [itsalltext] 07/459: lint run

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:00 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 889bed28ef0d0ac117fd9ea4c0c7bcd2aefce0d1
Author: docwhat at gerf.org <docwhat at gerf.org>
Date:   Sun Dec 10 12:04:47 2006 -0500

    lint run
---
 chrome/content/itsalltext.js | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/chrome/content/itsalltext.js b/chrome/content/itsalltext.js
index 2187722..352c6e0 100644
--- a/chrome/content/itsalltext.js
+++ b/chrome/content/itsalltext.js
@@ -99,9 +99,9 @@ function ItsAllTextOverlay() {
       var path = null;
       try {
         /* Where is the directory that we use. */
-        editdir = Components.classes["@mozilla.org/file/directory_service;1"]
-          .getService(Components.interfaces.nsIProperties)
-          .get("TmpD", Components.interfaces.nsIFile).path;
+        editdir = Components.classes["@mozilla.org/file/directory_service;1"].
+          getService(Components.interfaces.nsIProperties).
+          get("TmpD", Components.interfaces.nsIFile).path;
         that.debug('editdir',editdir);
 
         /* Get a file */
@@ -117,7 +117,8 @@ function ItsAllTextOverlay() {
           createInstance(Components.interfaces.nsIFileOutputStream);
         
         /* write, create, truncate */
-        foStream.init(file, 0x02 | 0x08 | 0x20, 0600, 0); 
+        foStream.init(file, 0x02 | 0x08 | 0x20, 
+                      parseInt('0600',8), 0); 
 
         /* We convert to UTF-8 */
         var conv = Components.
@@ -276,7 +277,7 @@ function ItsAllTextOverlay() {
   that.onEditNode = function(node) {
     var cobj = that.getCacheObj(node);
     that.debug('onEditNode',cobj);
-    cobj.edit()
+    cobj.edit();
     return;
   };
 

-- 
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