| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 1 | 0.986 | IfStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 865 | Closure/closure/goog/ui/autocomplete/inputhandler.js |
| 2 | 3 | 883 | Closure/closure/goog/ui/autocomplete/inputhandler.js |
| ||||
// IE also needs a keypress to check if the user typed a separator
if (goog.userAgent.IE) {
this.eh_.listen(this.activeElement_,
goog.events.EventType.KEYPRESS, this.onIeKeyPress_);
}
|
| ||||
if (goog.userAgent.IE) {
this.eh_.unlisten(this.activeElement_,
goog.events.EventType.KEYPRESS, this.onIeKeyPress_);
}
|
| |||
// IE also needs a keypress to check if the user typed a separator
if (goog.userAgent.IE)
{ this.eh_. [[#variable46790180]](this.activeElement_,goog.events.EventType.KEYPRESS,this.onIeKeyPress_);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#46790180]] | unlisten |
| 1 | 2 | [[#46790180]] | listen |