Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 2cb4d4dbd7f99ec95b84e8dc62d2c7e07a9f72e3 1 parent d07d337
Jan Odvarko authored August 27, 2012
4  extension/content/firebug/console/commandLineExposed.js
@@ -71,6 +71,8 @@ function createFirebugCommandLine(context, win)
71 71
         commandLine.__exposedProps__[command] = "rw";
72 72
     }
73 73
 
  74
+    var console = Firebug.ConsoleExposed.createFirebugConsole(context, win);
  75
+
74 76
     // Define shortcuts for some console methods
75 77
     for (var i=0; i<consoleShortcuts.length; i++)
76 78
     {
@@ -82,7 +84,7 @@ function createFirebugCommandLine(context, win)
82 84
 
83 85
         function createShortcutHandler(cmd) {
84 86
             return function() {
85  
-                return contentView.console[cmd].apply(contentView.console, arguments);
  87
+                return console[cmd].apply(console, arguments);
86 88
             }
87 89
         }
88 90
 

0 notes on commit 2cb4d4d

Please sign in to comment.
Something went wrong with that request. Please try again.