File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/ecma-debugger/eventlisteners Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ cls.EventListeners.prototype = new function()
9595 var SUCCESS = 0 ;
9696 var SEARCH_TYPE_EVENT = 5 ;
9797 var DELAY = 150 ;
98- var GET_RT_ID = function ( rt ) { return rt . rt_id } ;
98+ var get_rt_id = function ( rt ) { return rt . rt_id } ;
9999
100100 /*
101101 data structure:
@@ -114,7 +114,7 @@ cls.EventListeners.prototype = new function()
114114 this . _handle_new_rts = function ( )
115115 {
116116 var rt_ids = window . runtimes . get_dom_runtime_ids ( ) ;
117- var cur_rt_ids = this . _rts . map ( GET_RT_ID ) ;
117+ var cur_rt_ids = this . _rts . map ( get_rt_id ) ;
118118 var new_rt_ids = rt_ids . filter ( function ( id ) { return ! cur_rt_ids . contains ( id ) ; } ) ;
119119 var live_rts = this . _rts . filter ( function ( rt ) { return rt_ids . contains ( rt . rt_id ) ; } ) ;
120120 if ( live_rts . length != this . _rts . length )
Original file line number Diff line number Diff line change 1010 var USE_CAPTURE = 3 ;
1111 var LISTENER_OBJECT_ID = 4 ;
1212 var LISTENER_SCRIPT_DATA = 5 ;
13- var HAS_LISTENERS = function ( rt_l ) { return rt_l . event_types . length ; } ;
13+ var has_listeners = function ( rt_l ) { return rt_l . event_types . length ; } ;
1414
1515 /* Event listener view */
1616
1717 this . main_ev_listener_view = function ( data )
1818 {
19- var data_with_ls = data . filter ( HAS_LISTENERS ) ;
19+ var data_with_ls = data . filter ( has_listeners ) ;
2020 return (
2121 [ "div" ,
2222 [ "div" ,
You can’t perform that action at this time.
0 commit comments