CloneSet1572


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.975ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13287
Closure/closure/goog/ui/popupmenu.js
23331
Closure/closure/goog/ui/popupmenu.js
Clone Instance
1
Line Count
3
Source Line
287
Source File
Closure/closure/goog/ui/popupmenu.js

/**
 * Attaches an event listener to a target
 * @param {Object} target The target to attach an event to.
 * @private
 */
goog.ui.PopupMenu.prototype.attachEvent_=  function (target){
  this.getHandler( ).listen(
       target.element_, target.eventType_, this.onTargetClick_);
                                                            } ;


Clone Instance
2
Line Count
3
Source Line
331
Source File
Closure/closure/goog/ui/popupmenu.js

/**
 * Detaches an event listener to a target
 * @param {Object} target The target to detach events from.
 * @private
 */
goog.ui.PopupMenu.prototype.detachEvent_=  function (target){
  this.getHandler( ).unlisten(
       target.element_, target.eventType_, this.onTargetClick_);
                                                            } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Detaches an event listener to a target
 * @param {Object} target The target to detach events from.
 * @private
 */
/**
 * Attaches an event listener to a target
 * @param {Object} target The target to attach an event to.
 * @private
 */
goog.ui.PopupMenu.prototype. [[#variable20f1d100]]= function (target)
                                                    { this.getHandler( ). [[#variable20f1d080]](target.element_,target.eventType_,this.onTargetClick_);
                                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20f1d100]]
detachEvent_ 
12[[#20f1d100]]
attachEvent_ 
21[[#20f1d080]]
unlisten 
22[[#20f1d080]]
listen