[Pkg-mozext-commits] [itsalltext] 333/459: de-narfed
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:35 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 fa0a8e22a5cff14e7bc1e8706e7d6163c6be0885
Author: Christian Höltje <docwhat at gmail.com>
Date: Thu Oct 23 23:49:13 2008 -0400
de-narfed
---
src/chrome/content/API.js | 7 -------
src/chrome/content/cacheobj.js | 9 ---------
src/chrome/content/itsalltext.js | 1 -
3 files changed, 17 deletions(-)
diff --git a/src/chrome/content/API.js b/src/chrome/content/API.js
index 9f68f45..5b533fe 100644
--- a/src/chrome/content/API.js
+++ b/src/chrome/content/API.js
@@ -66,27 +66,20 @@
extension = this.getAttribute("itsalltext-extension"),
node,
cache_object,
- narf = ItsAllText.debug;
node = document.getElementById(id);
- narf('oec narf 1', id, extension, node);
-
/* The only way I can adjust the background of the textbox is
* to turn off the -moz-appearance attribute.
*/
node.style.MozAppearance = 'none';
- narf('oec narf 2');
cache_object = node && ItsAllText.getCacheObj(node);
- narf('oec narf 3', cache_object);
if (!cache_object) {
return;
}
- narf('oec narf 4');
cache_object.edit(extension);
- narf('oec narf 5');
return false;
};
diff --git a/src/chrome/content/cacheobj.js b/src/chrome/content/cacheobj.js
index bc48674..dc40b2f 100644
--- a/src/chrome/content/cacheobj.js
+++ b/src/chrome/content/cacheobj.js
@@ -601,11 +601,6 @@ CacheObj.prototype.addGumDrop = function () {
ItsAllText.listen(node, "focus", ItsAllText.hitch(cache_object, "mouseover"), false);
ItsAllText.listen(node, "blur", ItsAllText.hitch(cache_object, "mouseout"), false);
ItsAllText.listen(node, "keypress", ItsAllText.hitch(cache_object, "keypress"), false);
-// narf node.addEventListener( "mouseover", cache_object.mouseover, false);
-// narf node.addEventListener( "mouseout", cache_object.mouseout, false);
-// narf node.addEventListener( "focus", cache_object.mouseover, false);
-// narf node.addEventListener( "blur", cache_object.mouseout, false);
-// narf node.addEventListener( "keypress", cache_object.keypress, false);
if (ItsAllText.getDisableGumdrops()) {
return;
}
@@ -643,8 +638,6 @@ CacheObj.prototype.addGumDrop = function () {
// Click event handlers
ItsAllText.listen(gumdrop, "click", ItsAllText.hitch(cache_object, 'onClick'), false);
ItsAllText.listen(gumdrop, "contextmenu", ItsAllText.hitch(cache_object, 'onContext'), false);
-// narf gumdrop.addEventListener("click", cache_object.onClick, false);
-// narf gumdrop.addEventListener("contextmenu", cache_object.onContext, false);
// Insert it into the document
parent = node.parentNode;
@@ -659,8 +652,6 @@ CacheObj.prototype.addGumDrop = function () {
// Add mouseovers/outs
ItsAllText.listen(gumdrop, 'mouseover', ItsAllText.hitch(cache_object, 'mouseover'), false);
ItsAllText.listen(gumdrop, 'mouseout', ItsAllText.hitch(cache_object, 'mouseout'), false);
-// narf gumdrop.addEventListener("mouseover", cache_object.mouseover, false);
-// narf gumdrop.addEventListener("mouseout", cache_object.mouseout, false);
cache_object.mouseout(null);
cache_object.adjust();
diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index c7141bb..3213521 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -842,7 +842,6 @@ ItsAllText.prototype.menuExtEdit = function (ext, clobber, event) {
ext = typeof(ext) === 'string'?ext:event.target.getAttribute('label');
}
this.debug('menuExtEdit:', uid, ext, clobber);
- //narf this.monitor.watch(cobj.node.ownerDocument);
cobj.edit(ext, clobber);
};
--
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