| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 0 | 1.000 | StatementList[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 419 | Closure/closure/goog/ui/control.js |
| 2 | 7 | 474 | Closure/closure/goog/ui/control.js |
| ||||
// Initialize ARIA role.
this.renderer_.setAriaRole(element);
// Initialize text selection.
if (!this.isAllowTextSelection( )){
// The renderer is assumed to create selectable elements. Since making
// elements unselectable is expensive, only do it if needed (bug 1037090).
this.renderer_.setAllowTextSelection(element, false);
}
|
| ||||
// Initialize ARIA role.
this.renderer_.setAriaRole(element);
// Initialize text selection.
if (!this.isAllowTextSelection( )){
// Decorated elements are assumed to be selectable. Since making elements
// unselectable is expensive, only do it if needed (bug 1037090).
this.renderer_.setAllowTextSelection(element, false);
}
|
| |||
// Initialize ARIA role.
this.renderer_.setAriaRole(element);
// Initialize text selection.
if (!this.isAllowTextSelection( ))
{
// The renderer is assumed to create selectable elements. Since making
// elements unselectable is expensive, only do it if needed (bug 1037090).
// Decorated elements are assumed to be selectable. Since making elements
// unselectable is expensive, only do it if needed (bug 1037090).
this.renderer_.setAllowTextSelection(element, false);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||