CloneSet684


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.958ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16144
Closure/closure/goog/ui/colormenubuttonrenderer.js
2697
Closure/closure/goog/ui/toolbarcolormenubuttonrenderer.js
Clone Instance
1
Line Count
6
Source Line
144
Source File
Closure/closure/goog/ui/colormenubuttonrenderer.js

/**
 * Initializes the button's DOM when it enters the document.  Overrides the
 * superclass implementation by making sure the button's color indicator is
 * initialized.
 * @param {goog.ui.ColorMenuButton} button Button whose DOM is to be
 *     initialized as it enters the document.
 */
goog.ui.ColorMenuButtonRenderer.prototype.initializeDom=  function (button){
  this.setValue(button.getElement( ),button.getValue( ));
  goog.dom.classes.add(button.getElement( ),
      goog.ui.ColorMenuButtonRenderer.CSS_CLASS);
  goog.ui.ColorMenuButtonRenderer.superClass_.initializeDom.call(this,
      button);
                                                                           } ;


Clone Instance
2
Line Count
6
Source Line
97
Source File
Closure/closure/goog/ui/toolbarcolormenubuttonrenderer.js

/**
 * Initializes the button's DOM when it enters the document.  Overrides the
 * superclass implementation by making sure the button's color indicator is
 * initialized.
 * @param {goog.ui.ColorMenuButton} button Button whose DOM is to be
 *     initialized as it enters the document.
 */
goog.ui.ToolbarColorMenuButtonRenderer.prototype.initializeDom=  function (
    button) {
  this.setValue(button.getElement( ),button.getValue( ));
  goog.dom.classes.add(button.getElement( ),'goog-toolbar-color-menu-button');
  goog.ui.ToolbarColorMenuButtonRenderer.superClass_.initializeDom.call(this,
      button);
            } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Initializes the button's DOM when it enters the document.  Overrides the
 * superclass implementation by making sure the button's color indicator is
 * initialized.
 * @param {goog.ui.ColorMenuButton} button Button whose DOM is to be
 *     initialized as it enters the document.
 */
goog.ui. [[#variable62f592c0]].prototype.initializeDom= function (button)
                                                        { this.setValue(button.getElement( ),button.getValue( ));
                                                          goog.dom.classes.add(button.getElement( ), [[#variable3f680060]]);
                                                          goog.ui. [[#variable62f592c0]].superClass_.initializeDom.call(this,button);
                                                        } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62f592c0]]
ColorMenuButtonRenderer 
12[[#62f592c0]]
ToolbarColorMenuButtonRenderer 
21[[#3f680060]]
goog.ui.ColorMenuButtonRenderer.CSS_CLASS 
22[[#3f680060]]
'goog-toolbar-color-menu-button'