| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 1 | 0.982 | StatementList[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 428 | Closure/closure/goog/ui/autocomplete/inputhandler.js |
| 2 | 6 | 446 | Closure/closure/goog/ui/autocomplete/inputhandler.js |
| ||||
this.eh_.listen(el, goog.events.EventType.FOCUS, this.onFocus_);
this.eh_.listen(el, goog.events.EventType.BLUR, this.onBlur_);
if (!this.activeElement_) {
this.activateHandler_.listen(
el, goog.events.EventType.KEYDOWN, this.onKeyDownOnInactiveElement_);
}
|
| ||||
this.eh_.unlisten(el, goog.events.EventType.FOCUS, this.onFocus_);
this.eh_.unlisten(el, goog.events.EventType.BLUR, this.onBlur_);
if (!this.activeElement_) {
this.activateHandler_.unlisten(
el, goog.events.EventType.KEYDOWN, this.onKeyDownOnInactiveElement_);
}
|
| |||
this.eh_. [[#variable1f22b3a0]](el,goog.events.EventType.FOCUS,this.onFocus_);
this.eh_. [[#variable1f22b3a0]](el,goog.events.EventType.BLUR,this.onBlur_);
if (!this.activeElement_)
{ this.activateHandler_. [[#variable1f22b3a0]](el,goog.events.EventType.KEYDOWN,this.onKeyDownOnInactiveElement_);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1f22b3a0]] | unlisten |
| 1 | 2 | [[#1f22b3a0]] | listen |