CloneSet306


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3630.957LogicalORExpression
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14287
Closure/closure/goog/ui/emoji/popupemojipicker.js
22299
Closure/closure/goog/ui/emoji/popupemojipicker.js
33254
Closure/closure/goog/ui/popupcolorpicker.js
43264
Closure/closure/goog/ui/popupcolorpicker.js
53187
Closure/closure/goog/ui/popupdatepicker.js
63197
Closure/closure/goog/ui/popupdatepicker.js
Clone Instance
1
Line Count
4
Source Line
287
Source File
Closure/closure/goog/ui/emoji/popupemojipicker.js

                                                  function (element){
  // TODO: standardize event type, popups should use MOUSEDOWN, but
  // currently apps are using click.
  this.getHandler( ).listen(element, goog.events.EventType.CLICK, this.show_);
                                                                    }


Clone Instance
2
Line Count
2
Source Line
299
Source File
Closure/closure/goog/ui/emoji/popupemojipicker.js

                                                  function (element){
  this.getHandler( ).unlisten(element, goog.events.EventType.CLICK, this.show_);
                                                                    }


Clone Instance
3
Line Count
3
Source Line
254
Source File
Closure/closure/goog/ui/popupcolorpicker.js

                                            function (element){
  this.getHandler( ).listen(element, goog.events.EventType.MOUSEDOWN,
       this.show_);
                                                              }


Clone Instance
4
Line Count
3
Source Line
264
Source File
Closure/closure/goog/ui/popupcolorpicker.js

                                            function (element){
  this.getHandler( ).unlisten(element, goog.events.EventType.MOUSEDOWN,
       this.show_);
                                                              }


Clone Instance
5
Line Count
3
Source Line
187
Source File
Closure/closure/goog/ui/popupdatepicker.js

                                           function (element){
  this.getHandler( ).listen(element, goog.events.EventType.MOUSEDOWN,
                            this.showPopup_);
                                                             }


Clone Instance
6
Line Count
3
Source Line
197
Source File
Closure/closure/goog/ui/popupdatepicker.js

                                           function (element){
  this.getHandler( ).unlisten(element, goog.events.EventType.MOUSEDOWN,
                              this.showPopup_);
                                                             }


Clone AbstractionParameter Count: 3Parameter Bindings

function (element)
{
  // TODO: standardize event type, popups should use MOUSEDOWN, but
  // currently apps are using click.
  this.getHandler( ). [[#variable5bc37b80]](element,goog.events.EventType. [[#variable5bc37b00]],this. [[#variable574cbca0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5bc37b80]]
unlisten 
12[[#5bc37b80]]
listen 
13[[#5bc37b80]]
unlisten 
14[[#5bc37b80]]
listen 
15[[#5bc37b80]]
unlisten 
16[[#5bc37b80]]
listen 
21[[#5bc37b00]]
MOUSEDOWN 
22[[#5bc37b00]]
MOUSEDOWN 
23[[#5bc37b00]]
MOUSEDOWN 
24[[#5bc37b00]]
MOUSEDOWN 
25[[#5bc37b00]]
CLICK 
26[[#5bc37b00]]
CLICK 
31[[#574cbca0]]
show_ 
32[[#574cbca0]]
show_ 
33[[#574cbca0]]
showPopup_ 
34[[#574cbca0]]
showPopup_ 
35[[#574cbca0]]
show_ 
36[[#574cbca0]]
show_