| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 2 | 0.982 | Block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 1138 | Closure/closure/goog/ui/control.js |
| 2 | 6 | 1282 | Closure/closure/goog/ui/control.js |
| ||||
{
if (this.isAutoState(goog.ui.Component.State.ACTIVE)) {
// Deactivate on mouseout; otherwise we lose track of the mouse button.
this.setActive( false);
}
if (this.isAutoState(goog.ui.Component.State.HOVER)) {
this.setHighlighted( false);
}
}
|
| ||||
{
if (this.isAutoState(goog.ui.Component.State.ACTIVE)) {
this.setActive( false);
}
if (this.isAutoState(goog.ui.Component.State.FOCUSED)) {
this.setFocused( false);
}
}
|
| |||
{ if (this.isAutoState(goog.ui.Component.State.ACTIVE))
{
// Deactivate on mouseout; otherwise we lose track of the mouse button.
this.setActive( false);
}
if (this.isAutoState(goog.ui.Component.State. [[#variable61b57f60]]))
{ this. [[#variable61b56dc0]]( false);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#61b57f60]] | HOVER |
| 1 | 2 | [[#61b57f60]] | FOCUSED |
| 2 | 1 | [[#61b56dc0]] | setHighlighted |
| 2 | 2 | [[#61b56dc0]] | setFocused |