CloneSet127


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7530.972SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17124
Closure/closure/goog/fx/dom.js
27245
Closure/closure/goog/fx/dom.js
37280
Closure/closure/goog/fx/dom.js
47517
Closure/closure/goog/fx/dom.js
57585
Closure/closure/goog/fx/dom.js
Clone Instance
1
Line Count
7
Source Line
124
Source File
Closure/closure/goog/fx/dom.js

/**
 * Creates an animation object that will slide an element from A to B.  (This
 * in effect automatically sets up the onanimate event for an Animation object)
 *
 * Start and End should be 2 dimensional arrays
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 2D array for start coordinates (X, Y).
 * @param {Array.<number>} end 2D array for end coordinates (X, Y).
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @extends {goog.fx.dom.PredefinedEffect}
 * @constructor
 */
goog.fx.dom.Slide=  function (element, start, end, time, opt_acc){
  if (start.length!=  2
      ||                   end.length!=  2) {
    throw Error('Start and end points must be 2D');
                                            }
  goog.fx.dom.PredefinedEffect.apply(this, arguments);
                                                                 } ;
goog.inherits(goog.fx.dom.Slide, goog.fx.dom.PredefinedEffect);


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

/**
 * Creates an animation object that will scroll an element from A to B.
 *
 * Start and End should be 2 dimensional arrays
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 2D array for start scroll left and top.
 * @param {Array.<number>} end 2D array for end scroll left and top.
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @extends {goog.fx.dom.PredefinedEffect}
 * @constructor
 */
goog.fx.dom.Scroll=  function (element, start, end, time, opt_acc){
  if (start.length!=  2
      ||                   end.length!=  2) {
    throw Error('Start and end points must be 2D');
                                            }
  goog.fx.dom.PredefinedEffect.apply(this, arguments);
                                                                  } ;
goog.inherits(goog.fx.dom.Scroll, goog.fx.dom.PredefinedEffect);


Clone Instance
3
Line Count
7
Source Line
280
Source File
Closure/closure/goog/fx/dom.js

/**
 * Creates an animation object that will resize an element between two widths
 * and heights.
 *
 * Start and End should be 2 dimensional arrays
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 2D array for start width and height.
 * @param {Array.<number>} end 2D array for end width and height.
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @extends {goog.fx.dom.PredefinedEffect}
 * @constructor
 */
goog.fx.dom.Resize=  function (element, start, end, time, opt_acc){
  if (start.length!=  2
      ||                   end.length!=  2) {
    throw Error('Start and end points must be 2D');
                                            }
  goog.fx.dom.PredefinedEffect.apply(this, arguments);
                                                                  } ;
goog.inherits(goog.fx.dom.Resize, goog.fx.dom.PredefinedEffect);


Clone Instance
4
Line Count
7
Source Line
517
Source File
Closure/closure/goog/fx/dom.js

/**
 * Provides a transformation of an elements background-color.
 *
 * Start and End should be 3D arrays representing R,G,B
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 3D Array for RGB of start color.
 * @param {Array.<number>} end 3D Array for RGB of end color.
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @extends {goog.fx.dom.PredefinedEffect}
 * @constructor
 */
goog.fx.dom.BgColorTransform=  function (element, start, end, time, opt_acc){
  if (start.length!=  3
      ||                   end.length!=  3) {
    throw Error('Start and end points must be 3D');
                                            }
  goog.fx.dom.PredefinedEffect.apply(this, arguments);
                                                                            } ;
goog.inherits(goog.fx.dom.BgColorTransform, goog.fx.dom.PredefinedEffect);


Clone Instance
5
Line Count
7
Source Line
585
Source File
Closure/closure/goog/fx/dom.js

/**
 * Provides a transformation of an elements color.
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 3D Array representing R,G,B.
 * @param {Array.<number>} end 3D Array representing R,G,B.
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @constructor
 * @extends {goog.fx.dom.PredefinedEffect}
 */
goog.fx.dom.ColorTransform=  function (element, start, end, time, opt_acc){
  if (start.length!=  3
      ||                   end.length!=  3) {
    throw Error('Start and end points must be 3D');
                                            }
  goog.fx.dom.PredefinedEffect.apply(this, arguments);
                                                                          } ;
goog.inherits(goog.fx.dom.ColorTransform, goog.fx.dom.PredefinedEffect);


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Creates an animation object that will slide an element from A to B.  (This
 * in effect automatically sets up the onanimate event for an Animation object)
 *
 * Start and End should be 2 dimensional arrays
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 2D array for start coordinates (X, Y).
 * @param {Array.<number>} end 2D array for end coordinates (X, Y).
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @extends {goog.fx.dom.PredefinedEffect}
 * @constructor
 */
/**
 * Provides a transformation of an elements background-color.
 *
 * Start and End should be 3D arrays representing R,G,B
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 3D Array for RGB of start color.
 * @param {Array.<number>} end 3D Array for RGB of end color.
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @extends {goog.fx.dom.PredefinedEffect}
 * @constructor
 */
/**
 * Creates an animation object that will scroll an element from A to B.
 *
 * Start and End should be 2 dimensional arrays
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 2D array for start scroll left and top.
 * @param {Array.<number>} end 2D array for end scroll left and top.
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @extends {goog.fx.dom.PredefinedEffect}
 * @constructor
 */
/**
 * Creates an animation object that will resize an element between two widths
 * and heights.
 *
 * Start and End should be 2 dimensional arrays
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 2D array for start width and height.
 * @param {Array.<number>} end 2D array for end width and height.
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @extends {goog.fx.dom.PredefinedEffect}
 * @constructor
 */
/**
 * Provides a transformation of an elements color.
 *
 * @param {Element} element Dom Node to be used in the animation.
 * @param {Array.<number>} start 3D Array representing R,G,B.
 * @param {Array.<number>} end 3D Array representing R,G,B.
 * @param {number} time Length of animation in milliseconds.
 * @param {Function=} opt_acc Acceleration function, returns 0-1 for inputs 0-1.
 * @constructor
 * @extends {goog.fx.dom.PredefinedEffect}
 */
goog.fx.dom. [[#variable566501a0]]= function (element,start,end,time,opt_acc)
                                    { if (start.length!= [[#variable566503c0]]
                                          || end.length!= [[#variable566503c0]])
                                        { throw Error( [[#variable56650100]]);
                                        }
                                      goog.fx.dom.PredefinedEffect.apply(this,arguments);
                                    } ;
goog.inherits(goog.fx.dom. [[#variable566501a0]],goog.fx.dom.PredefinedEffect);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#566501a0]]
Slide 
12[[#566501a0]]
BgColorTransform 
13[[#566501a0]]
Scroll 
14[[#566501a0]]
Resize 
15[[#566501a0]]
ColorTransform 
21[[#566503c0]]
2 
22[[#566503c0]]
3 
23[[#566503c0]]
2 
24[[#566503c0]]
2 
25[[#566503c0]]
3 
31[[#56650100]]
'Start and end points must be 2D' 
32[[#56650100]]
'Start and end points must be 3D' 
33[[#56650100]]
'Start and end points must be 2D' 
34[[#56650100]]
'Start and end points must be 2D' 
35[[#56650100]]
'Start and end points must be 3D'