[Pkg-mozext-commits] [firebug] 11/24: Issue 5945 (Show source link for CSS errors) http://code.google.com/p/fbug/issues/detail?id=5945

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag firebug-1.10.4
in repository firebug.

commit c61fcfca9019a24989377d72e57028c89249aa30
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date:   Wed Sep 26 15:47:06 2012 +0200

    Issue 5945 (Show source link for CSS errors)
    http://code.google.com/p/fbug/issues/detail?id=5945
---
 extension/content/firebug/chrome/reps.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/extension/content/firebug/chrome/reps.js b/extension/content/firebug/chrome/reps.js
index bb62e61..32512f3 100644
--- a/extension/content/firebug/chrome/reps.js
+++ b/extension/content/firebug/chrome/reps.js
@@ -2291,12 +2291,13 @@ FirebugReps.ErrorMessage = domplate(Firebug.Rep,
         // so let's try to skip those
         if (error.source)
             return "syntax";
-        else if (error.lineNo == 1 && Url.getFileExtension(error.href) != "js")
-            return "none";
         else if (error.category == "css")
             return "show";
         else if (!error.href || !error.lineNo)
             return "none";
+        // Why do we have that at all?
+        else if (error.lineNo == 1 && Url.getFileExtension(error.href) != "js")
+            return "none";
         else
             return "show";
     },

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