CloneSet662


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.973ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15669
Closure/closure/goog/graphics/svggraphics.js
25830
Closure/closure/goog/graphics/vmlgraphics.js
Clone Instance
1
Line Count
5
Source Line
669
Source File
Closure/closure/goog/graphics/svggraphics.js

/**
 * Create an empty group of drawing elements.
 *
 * @param {goog.graphics.SvgGroupElement=} opt_group The group wrapper element
 *     to append to. If not specified, appends to the main canvas.
 *
 * @return {goog.graphics.GroupElement} The newly created group.
 */
goog.graphics.SvgGraphics.prototype.createGroup=  function (opt_group){
  var element=  this.createSvgElement_('g');
  var parent=  opt_group
               ||           this.canvasElement;
  parent.getElement( ).appendChild(element);
  return new goog.graphics.SvgGroupElement(element, this );
                                                                      } ;


Clone Instance
2
Line Count
5
Source Line
830
Source File
Closure/closure/goog/graphics/vmlgraphics.js

/**
 * Create an empty group of drawing elements.
 *
 * @param {goog.graphics.VmlGroupElement=} opt_group The group wrapper element
 *     to append to. If not specified, appends to the main canvas.
 *
 * @return {goog.graphics.GroupElement} The newly created group.
 */
goog.graphics.VmlGraphics.prototype.createGroup=  function (opt_group){
  var element=  this.createFullSizeElement_('group');
  var parent=  opt_group
               ||           this.canvasElement;
  parent.getElement( ).appendChild(element);
  return new goog.graphics.VmlGroupElement(element, this );
                                                                      } ;


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * Create an empty group of drawing elements.
 *
 * @param {goog.graphics.SvgGroupElement=} opt_group The group wrapper element
 *     to append to. If not specified, appends to the main canvas.
 *
 * @return {goog.graphics.GroupElement} The newly created group.
 */
/**
 * Create an empty group of drawing elements.
 *
 * @param {goog.graphics.VmlGroupElement=} opt_group The group wrapper element
 *     to append to. If not specified, appends to the main canvas.
 *
 * @return {goog.graphics.GroupElement} The newly created group.
 */
goog.graphics. [[#variable1fef88a0]].prototype.createGroup= function (opt_group)
                                                            { var element=this. [[#variable1fef8820]]( [[#variable1fef8760]]);
                                                              var parent=opt_group
                                                                         || this.canvasElement;
                                                              parent.getElement( ).appendChild(element);
                                                              return new goog.graphics. [[#variable1fef8700]](element,this );
                                                            } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1fef88a0]]
SvgGraphics 
12[[#1fef88a0]]
VmlGraphics 
21[[#1fef8820]]
createSvgElement_ 
22[[#1fef8820]]
createFullSizeElement_ 
31[[#1fef8760]]
'g' 
32[[#1fef8760]]
'group' 
41[[#1fef8700]]
SvgGroupElement 
42[[#1fef8700]]
VmlGroupElement