CloneSet696


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2340.956ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1279
Closure/closure/goog/dom/viewportsizemonitor.js
25445
Closure/closure/goog/events/keyhandler.js
35452
Closure/closure/goog/events/keyhandler.js
Clone Instance
1
Line Count
2
Source Line
79
Source File
Closure/closure/goog/dom/viewportsizemonitor.js

  // Listen for window resize events.
  this.listenerKey_=  goog.events.listen(this.window_,
      goog.events.EventType.RESIZE, this.handleResize_, false ,this );


Clone Instance
2
Line Count
5
Source Line
445
Source File
Closure/closure/goog/events/keyhandler.js

  // Most browsers (Safari 2 being the notable exception) doesn't include the
  // keyCode in keypress events (IE has the char code in the keyCode field and
  // Mozilla only included the keyCode if there's no charCode). Thus we have to
  // listen for keydown to capture the keycode.
  this.keyDownKey_=  goog.events.listen(this.element_,
                                        goog.events.EventType.KEYDOWN,
                                        this.handleKeyDown_,
                                        false ,
                                        this );


Clone Instance
3
Line Count
5
Source Line
452
Source File
Closure/closure/goog/events/keyhandler.js

  this.keyUpKey_=  goog.events.listen(this.element_,
                                      goog.events.EventType.KEYUP,
                                      this.handleKeyup_,
                                      false ,
                                      this );


Clone AbstractionParameter Count: 4Parameter Bindings

// Listen for window resize events.
// Most browsers (Safari 2 being the notable exception) doesn't include the
// keyCode in keypress events (IE has the char code in the keyCode field and
// Mozilla only included the keyCode if there's no charCode). Thus we have to
// listen for keydown to capture the keycode.
this. [[#variable1f5ea940]]=goog.events.listen(this. [[#variable1f5ea8e0]],goog.events.EventType. [[#variable1f5ea880]],this. [[#variable1f5ea800]], false ,this );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f5ea940]]
listenerKey_ 
12[[#1f5ea940]]
keyDownKey_ 
13[[#1f5ea940]]
keyUpKey_ 
21[[#1f5ea8e0]]
window_ 
22[[#1f5ea8e0]]
element_ 
23[[#1f5ea8e0]]
element_ 
31[[#1f5ea880]]
RESIZE 
32[[#1f5ea880]]
KEYDOWN 
33[[#1f5ea880]]
KEYUP 
41[[#1f5ea800]]
handleResize_ 
42[[#1f5ea800]]
handleKeyDown_ 
43[[#1f5ea800]]
handleKeyup_