[Pkg-mozext-commits] [firebug] 01/15: Command line method dir() doesn''t work properly

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


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

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

commit 37c82344b0b6cef4725f586b1e8716b9ab29765c
Author: Jan Odvarko <odvarko at gmail.com>
Date:   Mon Aug 27 19:01:25 2012 +0200

    Command line method dir() doesn''t work properly
---
 extension/content/firebug/console/commandLineExposed.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/extension/content/firebug/console/commandLineExposed.js b/extension/content/firebug/console/commandLineExposed.js
index 6f4b298..865ed28 100644
--- a/extension/content/firebug/console/commandLineExposed.js
+++ b/extension/content/firebug/console/commandLineExposed.js
@@ -71,6 +71,8 @@ function createFirebugCommandLine(context, win)
         commandLine.__exposedProps__[command] = "rw";
     }
 
+    var console = Firebug.ConsoleExposed.createFirebugConsole(context, win);
+
     // Define shortcuts for some console methods
     for (var i=0; i<consoleShortcuts.length; i++)
     {
@@ -82,7 +84,7 @@ function createFirebugCommandLine(context, win)
 
         function createShortcutHandler(cmd) {
             return function() {
-                return contentView.console[cmd].apply(contentView.console, arguments);
+                return console[cmd].apply(console, arguments);
             }
         }
 

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