@@ -35,8 +35,8 @@ const actorModuleUrl = options.prefixURI + "lib/firequery-actor.js";
35
35
/**
36
36
* @overlay This object represents an overlay for the existing
37
37
* Console panel and is responsible for Console customization.
38
- * FireQuery is hooking console logging and changing the way
39
- * how jQuery object is rendered in the Console.
38
+ *
39
+ * FireQuery is appending a new 'jQuerify' toolbar button
40
40
*/
41
41
const ConsoleOverlay = Class (
42
42
/** @lends ConsoleOverlay */
@@ -52,8 +52,6 @@ const ConsoleOverlay = Class(
52
52
PanelOverlay . prototype . initialize . apply ( this , arguments ) ;
53
53
54
54
Trace . sysout ( "ConsoleOverlay.initialize;" , options ) ;
55
-
56
- this . onNewMessages = this . onNewMessages . bind ( this ) ;
57
55
} ,
58
56
59
57
destroy : function ( ) {
@@ -99,10 +97,6 @@ const ConsoleOverlay = Class(
99
97
PanelOverlay . prototype . onReady . apply ( this , arguments ) ;
100
98
101
99
Trace . sysout ( "ConsoleOverlay.onReady;" , options ) ;
102
-
103
- // Add listeners to {@WebConsoleFrame } object to hook message logging.
104
- let hud = this . panel . hud ;
105
- hud . ui . on ( "new-messages" , this . onNewMessages ) ;
106
100
} ,
107
101
108
102
// Backend
@@ -147,32 +141,10 @@ const ConsoleOverlay = Class(
147
141
// xxxHonza: TODO
148
142
} ,
149
143
150
- // Message Logging Hooks
151
-
152
- onNewMessages : function ( topic , messages ) {
153
- messages . forEach ( msg => {
154
- this . onNewLog ( msg ) ;
155
- } ) ;
156
- } ,
157
-
158
- onNewLog : function ( log ) {
159
- Trace . sysout ( "ConsoleOverlay.onNewLog;" , log ) ;
160
-
161
- let node = log . node ;
162
- let msg = log . response ;
163
-
164
- let args = msg . arguments ;
165
- if ( ! args ) {
166
- return ;
167
- }
168
-
169
- // xxxHonza: remove the tracing
170
- FBTrace . sysout ( "!!! args " + args . length , args ) ;
171
- } ,
172
-
173
144
// Commands
174
145
175
146
onJQuerify : function ( ) {
147
+ // xxxHonza: TODO
176
148
}
177
149
} ) ;
178
150
0 commit comments