CloneSet788


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.957Block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17214
Closure/closure/goog/ui/prompt.js
27222
Closure/closure/goog/ui/prompt.js
Clone Instance
1
Line Count
7
Source Line
214
Source File
Closure/closure/goog/ui/prompt.js

                       {
    // If rows == 1 then use an input element.
    this.userInputEl_=  /** @type {HTMLInputElement} */
      (this.getDomHelper( ).createDom('input', attrs));
    this.userInputEl_.type=  'text';
    if (this.cols_) {
      this.userInputEl_.size=  this.cols_;
                    }
                       }


Clone Instance
2
Line Count
7
Source Line
222
Source File
Closure/closure/goog/ui/prompt.js

         {
    // If rows > 1 then use a textarea.
    this.userInputEl_=  /** @type {HTMLInputElement} */
        (this.getDomHelper( ).createDom('textarea', attrs));
    this.userInputEl_.rows=  this.rows_;
    if (this.cols_) {
      this.userInputEl_.cols=  this.cols_;
                    }
         }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  // If rows > 1 then use a textarea.
  // If rows == 1 then use an input element.
  this.userInputEl_= /** @type {HTMLInputElement} */
  (this.getDomHelper( ).createDom( [[#variable383d5a60]],attrs));
  this.userInputEl_. [[#variable383d59e0]]= [[#variable383d5960]];
  if (this.cols_)
    { this.userInputEl_. [[#variable383d5860]]=this.cols_;
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#383d5a60]]
'textarea' 
12[[#383d5a60]]
'input' 
21[[#383d59e0]]
rows 
22[[#383d59e0]]
type 
31[[#383d5960]]
this.rows_ 
32[[#383d5960]]
'text' 
41[[#383d5860]]
cols 
42[[#383d5860]]
size