CloneSet310


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.986ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17528
Closure/closure/goog/fx/dom.js
27599
Closure/closure/goog/fx/dom.js
Clone Instance
1
Line Count
7
Source Line
528
Source File
Closure/closure/goog/fx/dom.js

/**
 * Animation event handler that will set the background-color of an element
 */
goog.fx.dom.BgColorTransform.prototype.setColor=  function ( )
                                                             {
  var coordsAsInts=  [ ];
  for (var i=  0; i<  this.coords.length; i++) {
    coordsAsInts[i]=  Math.round(this.coords[i]);
                                               }
  var color=  'rgb('+  coordsAsInts.join(',')+  ')';
  this.element.style.backgroundColor=  color;
                                                             } ;


Clone Instance
2
Line Count
7
Source Line
599
Source File
Closure/closure/goog/fx/dom.js

/**
 * Animation event handler that will set the color of an element.
 * @protected
 * @override
 */
goog.fx.dom.ColorTransform.prototype.updateStyle=  function ( )
                                                              {
  var coordsAsInts=  [ ];
  for (var i=  0; i<  this.coords.length; i++) {
    coordsAsInts[i]=  Math.round(this.coords[i]);
                                               }
  var color=  'rgb('+  coordsAsInts.join(',')+  ')';
  this.element.style.color=  color;
                                                              } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Animation event handler that will set the color of an element.
 * @protected
 * @override
 */
/**
 * Animation event handler that will set the background-color of an element
 */
goog.fx.dom. [[#variable568a7c00]].prototype. [[#variable568a79e0]]= function ( )
                                                                     { var coordsAsInts=[ ];
                                                                       for (var i=0; i<this.coords.length; i++)
                                                                         { coordsAsInts[i]=Math.round(this.coords[i]);
                                                                         }
                                                                       var color='rgb('+coordsAsInts.join(',')+')';
                                                                       this.element.style. [[#variable568a7ac0]]=color;
                                                                     } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#568a7c00]]
ColorTransform 
12[[#568a7c00]]
BgColorTransform 
21[[#568a79e0]]
updateStyle 
22[[#568a79e0]]
setColor 
31[[#568a7ac0]]
color 
32[[#568a7ac0]]
backgroundColor