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.963 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 536 | Closure/closure/goog/ui/combobox.js |
2 | 3 | 546 | Closure/closure/goog/ui/combobox.js |
| ||||
/** * Show the menu and add an active class to the combo box's element. * @private */ goog.ui.ComboBox.prototype.showMenu_= function ( ) { this.menu_.setVisible( true); goog.dom.classes.add(this.getElement( ),'goog-combobox-active'); } ; |
| ||||
/** * Hide the menu and remove the active class from the combo box's element. * @private */ goog.ui.ComboBox.prototype.hideMenu_= function ( ) { this.menu_.setVisible( false); goog.dom.classes.remove(this.getElement( ),'goog-combobox-active'); } ; |
| |||
/** * Hide the menu and remove the active class from the combo box's element. * @private */ /** * Show the menu and add an active class to the combo box's element. * @private */ goog.ui.ComboBox.prototype. [[#variable3d1d1940]]= function ( ) { this.menu_.setVisible( [[#variable3d1d18e0]]); goog.dom.classes. [[#variable3d1d1860]](this.getElement( ),'goog-combobox-active'); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3d1d1940]] | hideMenu_ |
1 | 2 | [[#3d1d1940]] | showMenu_ |
2 | 1 | [[#3d1d18e0]] | false |
2 | 2 | [[#3d1d18e0]] | true |
3 | 1 | [[#3d1d1860]] | remove |
3 | 2 | [[#3d1d1860]] | add |