CloneSet299


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.986Block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111303
Closure/closure/goog/fx/abstractdragdrop.js
210322
Closure/closure/goog/fx/abstractdragdrop.js
Clone Instance
1
Line Count
11
Source Line
303
Source File
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_);
                                           }
                                                             }


Clone Instance
2
Line Count
10
Source Line
322
Source File
Closure/closure/goog/fx/abstractdragdrop.js

                                                    {
    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_);
                                             }
                                                    }


Clone AbstractionParameter Count: 2Parameter Bindings

{ 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5cc3d360]]
unlisten 
12[[#5cc3d360]]
listen 
21[[#5cc3dca0]]
remove 
22[[#5cc3dca0]]
add