| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.970 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 64 | Closure/closure/goog/ui/toolbarcolormenubutton.js |
| 2 | 3 | 63 | Closure/closure/goog/ui/toolbarselect.js |
| ||||
// Registers a decorator factory function for toolbar color menu buttons.
goog.ui.registry.setDecoratorByClassName(
'goog-toolbar-color-menu-button',
function ( )
{
return new goog.ui.ToolbarColorMenuButton(null);
} );
|
| ||||
// Registers a decorator factory function for select controls used in toolbars.
goog.ui.registry.setDecoratorByClassName('goog-toolbar-select',
function ( )
{
return new goog.ui.ToolbarSelect(null);
} );
|
| |||
// Registers a decorator factory function for toolbar color menu buttons.
// Registers a decorator factory function for select controls used in toolbars.
goog.ui.registry.setDecoratorByClassName( [[#variable213dfba0]], function ( )
{ return new goog.ui. [[#variable213dfb40]](null);
} );
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#213dfba0]] | 'goog-toolbar-color-menu-button' |
| 1 | 2 | [[#213dfba0]] | 'goog-toolbar-select' |
| 2 | 1 | [[#213dfb40]] | ToolbarColorMenuButton |
| 2 | 2 | [[#213dfb40]] | ToolbarSelect |