[Pkg-mozext-commits] [firebug] 64/68: Hack for css-logic module import in Firefox 22 and less
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.
commit 068a4a452333180c831cd72d1f0d3d88df23d63e
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date: Thu May 23 13:25:31 2013 +0200
Hack for css-logic module import in Firefox 22 and less
---
extension/content/firebug/css/computedPanel.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/extension/content/firebug/css/computedPanel.js b/extension/content/firebug/css/computedPanel.js
index 41e998f..1559890 100644
--- a/extension/content/firebug/css/computedPanel.js
+++ b/extension/content/firebug/css/computedPanel.js
@@ -35,9 +35,11 @@ const statusClasses = ["cssUnmatched", "cssParentMatch", "cssOverridden", "cssBe
//xxxHonza: shell we move this mess to lib?
try
{
- // Firefox 22
+ // Firefox <= 22
// xxxHonza: broken by: https://bugzilla.mozilla.org/show_bug.cgi?id=855914
- Cu.import("resource:///modules/devtools/CssLogic.jsm");
+ var scope = {};
+ Cu.import("resource:///modules/devtools/CssLogic.jsm", scope);
+ var CssLogic = scope.CssLogic;
}
catch (err)
{
--
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