Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Command line method dir() doesn''t work properly

  • Loading branch information...
commit 2cb4d4dbd7f99ec95b84e8dc62d2c7e07a9f72e3 1 parent d07d337
@janodvarko janodvarko authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 extension/content/firebug/console/commandLineExposed.js
View
4 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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.