| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 3 | 0.955 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 417 | Closure/closure/goog/ui/datepicker.js |
| 2 | 4 | 430 | Closure/closure/goog/ui/datepicker.js |
| ||||
/**
* Sets whether none is a valid selection.
*
* @param {boolean} b Whether none is a valid selection.
*/
goog.ui.DatePicker.prototype.setAllowNone= function (b){
this.allowNone_= b;
if (this.elNone_) {
this.updateTodayAndNone_( );
}
} ;
|
| ||||
/**
* Sets whether the today button should be shown.
*
* @param {boolean} b Whether the today button should be shown.
*/
goog.ui.DatePicker.prototype.setShowToday= function (b){
this.showToday_= b;
if (this.elToday_) {
this.updateTodayAndNone_( );
}
} ;
|
| |||
/**
* Sets whether the today button should be shown.
*
* @param {boolean} b Whether the today button should be shown.
*/
/**
* Sets whether none is a valid selection.
*
* @param {boolean} b Whether none is a valid selection.
*/
goog.ui.DatePicker.prototype. [[#variable1dfe6980]]= function (b)
{ this. [[#variable1dfe6900]]=b;
if (this. [[#variable1dfe67e0]])
{ this.updateTodayAndNone_( );
}
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1dfe6980]] | setShowToday |
| 1 | 2 | [[#1dfe6980]] | setAllowNone |
| 2 | 1 | [[#1dfe6900]] | showToday_ |
| 2 | 2 | [[#1dfe6900]] | allowNone_ |
| 3 | 1 | [[#1dfe67e0]] | elToday_ |
| 3 | 2 | [[#1dfe67e0]] | elNone_ |