CloneSet254


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17220.984SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117140
Closure/closure/goog/ui/css3buttonrenderer.js
217196
Closure/closure/goog/ui/imagelessbuttonrenderer.js
Clone Instance
1
Line Count
17
Source Line
140
Source File
Closure/closure/goog/ui/css3buttonrenderer.js

// Register a decorator factory function for goog.ui.Css3ButtonRenderer.
goog.ui.registry.setDecoratorByClassName(
    goog.ui.Css3ButtonRenderer.CSS_CLASS,
    function ( )
               {
      return new goog.ui.Button(null,
          goog.ui.Css3ButtonRenderer.getInstance( ));
               }                        );

// Register a decorator factory function for toggle buttons using the
// goog.ui.Css3ButtonRenderer.
goog.ui.registry.setDecoratorByClassName(
    goog.getCssName('goog-css3-toggle-button'),
    function ( )
               {
      var button=  new goog.ui.Button(null,
          goog.ui.Css3ButtonRenderer.getInstance( ));
      button.setSupportedState(goog.ui.Component.State.CHECKED, true);
      return button;
               }                        );


Clone Instance
2
Line Count
17
Source Line
196
Source File
Closure/closure/goog/ui/imagelessbuttonrenderer.js

// Register a decorator factory function for goog.ui.ImagelessButtonRenderer.
goog.ui.registry.setDecoratorByClassName(
    goog.ui.ImagelessButtonRenderer.CSS_CLASS,
    function ( )
               {
      return new goog.ui.Button(null,
          goog.ui.ImagelessButtonRenderer.getInstance( ));
               }                        );

// Register a decorator factory function for toggle buttons using the
// goog.ui.ImagelessButtonRenderer.
goog.ui.registry.setDecoratorByClassName(
    goog.getCssName('goog-imageless-toggle-button'),
    function ( )
               {
      var button=  new goog.ui.Button(null,
          goog.ui.ImagelessButtonRenderer.getInstance( ));
      button.setSupportedState(goog.ui.Component.State.CHECKED, true);
      return button;
               }                        );


Clone AbstractionParameter Count: 2Parameter Bindings

// Register a decorator factory function for goog.ui.Css3ButtonRenderer.
// Register a decorator factory function for goog.ui.ImagelessButtonRenderer.
goog.ui.registry.setDecoratorByClassName(goog.ui. [[#variable606aa5a0]].CSS_CLASS, function ( )
                                                                                   { return new goog.ui.Button(null,goog.ui. [[#variable606aa5a0]].getInstance( ));
                                                                                   } );
// Register a decorator factory function for toggle buttons using the
// goog.ui.Css3ButtonRenderer.
// goog.ui.ImagelessButtonRenderer.
goog.ui.registry.setDecoratorByClassName(goog.getCssName( [[#variable606aa3a0]]), function ( )
                                                                                  { var button=new goog.ui.Button(null,goog.ui. [[#variable606aa5a0]].getInstance( ));
                                                                                    button.setSupportedState(goog.ui.Component.State.CHECKED, true);
                                                                                    return button;
                                                                                  } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#606aa5a0]]
Css3ButtonRenderer 
12[[#606aa5a0]]
ImagelessButtonRenderer 
21[[#606aa3a0]]
'goog-css3-toggle-button' 
22[[#606aa3a0]]
'goog-imageless-toggle-button'