CloneSet382


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.984ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17854
Closure/closure/goog/ui/dialog.js
27863
Closure/closure/goog/ui/dialog.js
Clone Instance
1
Line Count
7
Source Line
854
Source File
Closure/closure/goog/ui/dialog.js

    // Listen for keyboard and resize events while the dialog is visible.
    this.getHandler( ).listen(this.getElement( ),goog.events.EventType.KEYDOWN,
                           this.onKey_, true).listen(this.getElement( ),goog.events.EventType.KEYPRESS,
                                                  this.onKey_, true).listen(win, goog.events.EventType.RESIZE,
                                                                         this.onResize_, true);


Clone Instance
2
Line Count
7
Source Line
863
Source File
Closure/closure/goog/ui/dialog.js

    // Stop listening for keyboard and resize events while the dialog is hidden.
    this.getHandler( ).unlisten(this.getElement( ),goog.events.EventType.KEYDOWN,
                           this.onKey_, true).unlisten(this.getElement( ),goog.events.EventType.KEYPRESS,
                                                  this.onKey_, true).unlisten(win, goog.events.EventType.RESIZE,
                                                                         this.onResize_, true);


Clone AbstractionParameter Count: 1Parameter Bindings

// Listen for keyboard and resize events while the dialog is visible.
// Stop listening for keyboard and resize events while the dialog is hidden.
this.getHandler( ). [[#variable626d5e60]](this.getElement( ),goog.events.EventType.KEYDOWN,this.onKey_, true). [[#variable626d5e60]](this.getElement( ),goog.events.EventType.KEYPRESS,this.onKey_, true). [[#variable626d5e60]](win,goog.events.EventType.RESIZE,this.onResize_, true);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#626d5e60]]
listen 
12[[#626d5e60]]
unlisten