[Pkg-mozext-commits] [firebug] 02/35: Fix compatibility with FireQuery 1.4.1 (related to issue 7445)
David Prévot
taffit at moszumanska.debian.org
Sat May 24 14:54:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit 3e46c4ea5eb72fb8079451fc2dd9375321d770b5
Author: Jan Odvarko <odvarko at gmail.com>
Date: Tue May 20 14:32:47 2014 +0200
Fix compatibility with FireQuery 1.4.1 (related to issue 7445)
---
extension/content/firebug/chrome/reps.js | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/extension/content/firebug/chrome/reps.js b/extension/content/firebug/chrome/reps.js
index fd1c393..a112a37 100644
--- a/extension/content/firebug/chrome/reps.js
+++ b/extension/content/firebug/chrome/reps.js
@@ -1076,6 +1076,19 @@ FirebugReps.Element = domplate(Rep,
}
},
+ // xxxHonza: Used by FireQuery 1.4.1
+ getSelectorClass: function(elt)
+ {
+ try
+ {
+ return elt.classList.length > 0 ? ("." + elt.classList[0]) : "";
+ }
+ catch (err)
+ {
+ return "";
+ }
+ },
+
attrIterator: function(elt)
{
var attrs = [];
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list