@@ -141,7 +141,6 @@ function NWWindow(cWindow) {
141
141
dispatchEventIfExists ( self , 'onResized' , [ w . width , w . height ] ) ;
142
142
}
143
143
}
144
- console . log ( "cWindow id: " + this . cWindow . id ) ;
145
144
privates ( this ) . menu = null ;
146
145
chrome . windows . onWindowChanged . addListener ( updateWindowAttributes ) ;
147
146
}
@@ -240,7 +239,6 @@ NWWindow.prototype.on = function (event, callback, record) {
240
239
break ;
241
240
case 'document-start' :
242
241
var cb1 = wrap ( function ( frame , top_routing_id ) {
243
- console . log ( "document-start: cWindow: " + self . cWindow . id + "; top routing id: " + top_routing_id + "; main frame id: " + self . cWindow . tabs [ 0 ] . mainFrameId ) ;
244
242
if ( top_routing_id !== self . cWindow . tabs [ 0 ] . mainFrameId )
245
243
return ;
246
244
callback . call ( self , frame ) ;
@@ -249,7 +247,7 @@ NWWindow.prototype.on = function (event, callback, record) {
249
247
break ;
250
248
case 'document-end' :
251
249
var cb0 = wrap ( function ( frame , top_routing_id ) {
252
- console . log ( "document-end: cWindow: " + self . cWindow . id + "; top routing id: " + top_routing_id + "; main frame id: " + self . cWindow . tabs [ 0 ] . mainFrameId ) ;
250
+ // console.log("document-end: cWindow: " + self.cWindow.id + "; top routing id: " + top_routing_id + "; main frame id: " + self.cWindow.tabs[0].mainFrameId);
253
251
if ( top_routing_id !== self . cWindow . tabs [ 0 ] . mainFrameId )
254
252
return ;
255
253
callback . call ( self , frame ) ;
@@ -760,7 +758,6 @@ function onLoadingStateChanged(status) {
760
758
}
761
759
762
760
function onDocumentStartEnd ( start , frame , top_routing_id ) {
763
- console . log ( "--> onDocumentStartEnd: " + start + "; currentNWWindow: " + currentNWWindow ) ;
764
761
if ( start ) {
765
762
//could use the non-NW version?
766
763
dispatchEventNW ( "nw.Window.onDocumentStart" , [ frame , top_routing_id ] ) ;
@@ -782,7 +779,6 @@ function onClose(user_force) {
782
779
}
783
780
784
781
function get_nw ( ) {
785
- console . log ( "--> get_nw" ) ;
786
782
appWindowNatives . FixGamePadAPI ( ) ;
787
783
var nw0 = try_nw ( window ) . nw ;
788
784
if ( nw0 )
0 commit comments