[Pkg-mozext-commits] [itsalltext] 97/459: delinting

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:10 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 8d3eb5811a504fb76e862b7eafc837ce867d3d1e
Author: docwhat at gerf.org <docwhat at gerf.org>
Date:   Thu Feb 1 09:24:31 2007 -0500

    delinting
---
 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 6a85b47..f120bb7 100644
--- a/chrome/content/itsalltext.js
+++ b/chrome/content/itsalltext.js
@@ -110,7 +110,7 @@ function ItsAllText() {
     if (that.preferences.debug) {
       that.log.apply(that,arguments);
     }
-  }
+  };
 
   /**
    * Displays debug information, if debugging is turned on.
@@ -403,7 +403,7 @@ function ItsAllText() {
     self.edit = function(retried) {
       if (typeof(retried) == 'undefined') { retried = false; }
       var nodeName = self.node.nodeName;
-      if (nodeName != "TEXTAREA" && nodeName != "TEXTBOX") { return; }
+      if (nodeName != "TEXTAREA" /* incase I get chrome running && nodeName != "TEXTBOX"*/) { return; }
       var filename = self.write();
       self.initial_color = self.node.style.backgroundColor;
       try {
@@ -626,10 +626,12 @@ function ItsAllText() {
     for(var i=0; i < nodes.length; i++) {
       that.refreshTextarea(nodes[i]);
     }
-    var nodes = doc.getElementsByTagName('textbox');
+    /* Incase I get chrome running.
+    nodes = doc.getElementsByTagName('textbox');
     for(var i=0; i < nodes.length; i++) {
       that.refreshTextarea(nodes[i]);
     }
+    */
   };
 
   /**
@@ -834,7 +836,6 @@ function ItsAllText() {
       appcontent.addEventListener("DOMContentLoaded", that.onDOMContentLoad,
                                   true);
     } else {
-      // A Chrome page of some sort -- run immediately.
       that.onDOMContentLoad(event); 
     }
     // Attach the context menu, if we can.
@@ -843,7 +844,6 @@ function ItsAllText() {
       contentAreaContextMenu.addEventListener("popupshowing",
                                              that.onContextMenu, false);
     }
-
   };
   
   // Start watching the preferences.

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