Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.958 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 209 | Closure/closure/goog/ui/editor/defaulttoolbar.js |
2 | 3 | 266 | Closure/closure/goog/ui/editor/defaulttoolbar.js |
| ||||
/** * Initializes the given font size menu button by adding default font sizes to * it. * @param {!goog.ui.Select} button Font size menu button. */ goog.ui.editor.DefaultToolbar.addDefaultFontSizes= function (button){ goog.ui.editor.ToolbarFactory.addFontSizes(button, goog.ui.editor.DefaultToolbar.FONT_SIZES_); } ; |
| ||||
/** * Initializes the given "Format block" menu button by adding default format * options to the menu. * @param {!goog.ui.Select} button "Format block" menu button. */ goog.ui.editor.DefaultToolbar.addDefaultFormatOptions= function (button){ goog.ui.editor.ToolbarFactory.addFormatOptions(button, goog.ui.editor.DefaultToolbar.FORMAT_OPTIONS_); } ; |
| |||
/** * Initializes the given "Format block" menu button by adding default format * options to the menu. * @param {!goog.ui.Select} button "Format block" menu button. */ /** * Initializes the given font size menu button by adding default font sizes to * it. * @param {!goog.ui.Select} button Font size menu button. */ goog.ui.editor.DefaultToolbar. [[#variable3cf85980]]= function (button) { goog.ui.editor.ToolbarFactory. [[#variable3cf858e0]](button,goog.ui.editor.DefaultToolbar. [[#variable3cf85880]]); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3cf85980]] | addDefaultFormatOptions |
1 | 2 | [[#3cf85980]] | addDefaultFontSizes |
2 | 1 | [[#3cf858e0]] | addFormatOptions |
2 | 2 | [[#3cf858e0]] | addFontSizes |
3 | 1 | [[#3cf85880]] | FORMAT_OPTIONS_ |
3 | 2 | [[#3cf85880]] | FONT_SIZES_ |