| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.973 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 1149 | Closure/closure/goog/ui/container.js |
| 2 | 5 | 1172 | Closure/closure/goog/ui/container.js |
| ||||
/**
* Highlights the last highlightable item in the container.
*/
goog.ui.Container.prototype.highlightLast= function ( )
{
this.highlightHelper( function (index, max){
index--;
return index< 0
? max- 1
: index;
} ,0);
} ;
|
| ||||
/**
* Highlights the previous highlightable item (or the last if nothing is
* currently highlighted).
*/
goog.ui.Container.prototype.highlightPrevious= function ( )
{
this.highlightHelper( function (index, max){
index--;
return index< 0
? max- 1
: index;
} ,this.highlightedIndex_);
} ;
|
| |||
/**
* Highlights the previous highlightable item (or the last if nothing is
* currently highlighted).
*/
/**
* Highlights the last highlightable item in the container.
*/
goog.ui.Container.prototype. [[#variable20ad95e0]]= function ( )
{ this.highlightHelper( function (index,max)
{ index--;
return index<0
?max-1
:index;
} , [[#variable20ad9580]]);
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#20ad95e0]] | highlightPrevious |
| 1 | 2 | [[#20ad95e0]] | highlightLast |
| 2 | 1 | [[#20ad9580]] | this.highlightedIndex_ |
| 2 | 2 | [[#20ad9580]] | 0 |