Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.986 | Block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 303 | Closure/closure/goog/fx/abstractdragdrop.js |
2 | 10 | 322 | Closure/closure/goog/fx/abstractdragdrop.js |
| ||||
{ if (this.isSource_) { goog.events.listen(item.element, goog.events.EventType.MOUSEDOWN, item.mouseDown_, false ,item); if (this.sourceClass_) { goog.dom.classes.add(item.element, this.sourceClass_); } } if (this.isTarget_ && this.targetClass_) { goog.dom.classes.add(item.element, this.targetClass_); } } |
| ||||
{ if (this.isSource_) { goog.events.unlisten(item.element, goog.events.EventType.MOUSEDOWN, item.mouseDown_, false ,item); if (this.sourceClass_) { goog.dom.classes.remove(item.element, this.sourceClass_); } } if (this.isTarget_ && this.targetClass_) { goog.dom.classes.remove(item.element, this.targetClass_); } } |
| |||
{ if (this.isSource_) { goog.events. [[#variable5cc3d360]](item.element,goog.events.EventType.MOUSEDOWN,item.mouseDown_, false ,item); if (this.sourceClass_) { goog.dom.classes. [[#variable5cc3dca0]](item.element,this.sourceClass_); } } if (this.isTarget_ && this.targetClass_) { goog.dom.classes. [[#variable5cc3dca0]](item.element,this.targetClass_); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5cc3d360]] | unlisten |
1 | 2 | [[#5cc3d360]] | listen |
2 | 1 | [[#5cc3dca0]] | remove |
2 | 2 | [[#5cc3dca0]] | add |