| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 6 | 3 | 0.957 | LogicalORExpression |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 287 | Closure/closure/goog/ui/emoji/popupemojipicker.js |
| 2 | 2 | 299 | Closure/closure/goog/ui/emoji/popupemojipicker.js |
| 3 | 3 | 254 | Closure/closure/goog/ui/popupcolorpicker.js |
| 4 | 3 | 264 | Closure/closure/goog/ui/popupcolorpicker.js |
| 5 | 3 | 187 | Closure/closure/goog/ui/popupdatepicker.js |
| 6 | 3 | 197 | Closure/closure/goog/ui/popupdatepicker.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_);
}
|
| ||||
function (element){
this.getHandler( ).unlisten(element, goog.events.EventType.CLICK, this.show_);
}
|
| ||||
function (element){
this.getHandler( ).listen(element, goog.events.EventType.MOUSEDOWN,
this.show_);
}
|
| ||||
function (element){
this.getHandler( ).unlisten(element, goog.events.EventType.MOUSEDOWN,
this.show_);
}
|
| ||||
function (element){
this.getHandler( ).listen(element, goog.events.EventType.MOUSEDOWN,
this.showPopup_);
}
|
| ||||
function (element){
this.getHandler( ).unlisten(element, goog.events.EventType.MOUSEDOWN,
this.showPopup_);
}
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5bc37b80]] | unlisten |
| 1 | 2 | [[#5bc37b80]] | listen |
| 1 | 3 | [[#5bc37b80]] | unlisten |
| 1 | 4 | [[#5bc37b80]] | listen |
| 1 | 5 | [[#5bc37b80]] | unlisten |
| 1 | 6 | [[#5bc37b80]] | listen |
| 2 | 1 | [[#5bc37b00]] | MOUSEDOWN |
| 2 | 2 | [[#5bc37b00]] | MOUSEDOWN |
| 2 | 3 | [[#5bc37b00]] | MOUSEDOWN |
| 2 | 4 | [[#5bc37b00]] | MOUSEDOWN |
| 2 | 5 | [[#5bc37b00]] | CLICK |
| 2 | 6 | [[#5bc37b00]] | CLICK |
| 3 | 1 | [[#574cbca0]] | show_ |
| 3 | 2 | [[#574cbca0]] | show_ |
| 3 | 3 | [[#574cbca0]] | showPopup_ |
| 3 | 4 | [[#574cbca0]] | showPopup_ |
| 3 | 5 | [[#574cbca0]] | show_ |
| 3 | 6 | [[#574cbca0]] | show_ |