CloneSet1504


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.953SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112116
Closure/closure/goog/ui/attachablemenu.js
212137
Closure/closure/goog/ui/attachablemenu.js
Clone Instance
1
Line Count
12
Source Line
116
Source File
Closure/closure/goog/ui/attachablemenu.js

/**
 * Sets the class name to use for menu items
 *
 * @param {string} name The class name to use for items.
 */
goog.ui.AttachableMenu.prototype.setItemClassName=  function (name){
  this.itemClassName_=  name;
                                                                   } ;

/**
 * Sets the class name to use for selected menu items
 * TODO - reevaluate if we can simulate pseudo classes in IE
 *
 * @return {string} The class name to use for selected items.
 */
goog.ui.AttachableMenu.prototype.getSelectedItemClassName=  function ( )
                                                                       {
  return this.selectedItemClassName_;
                                                                       } ;


Clone Instance
2
Line Count
12
Source Line
137
Source File
Closure/closure/goog/ui/attachablemenu.js

/**
 * Sets the class name to use for selected menu items
 * TODO - reevaluate if we can simulate pseudo classes in IE
 *
 * @param {string} name The class name to use for selected items.
 */
goog.ui.AttachableMenu.prototype.setSelectedItemClassName=  function (name){
  this.selectedItemClassName_=  name;
                                                                           } ;


/**
 * Returns the selected item
 *
 * @return {Element} The item selected or null if no item is selected.
 */
goog.ui.AttachableMenu.prototype.getSelectedItem=  function ( )
                                                              {
  return this.selectedElement_;
                                                              } ;


Clone AbstractionParameter Count: 4Parameter Bindings

/**
 * Sets the class name to use for menu items
 *
 * @param {string} name The class name to use for items.
 */
/**
 * Sets the class name to use for selected menu items
 * TODO - reevaluate if we can simulate pseudo classes in IE
 *
 * @param {string} name The class name to use for selected items.
 */
goog.ui.AttachableMenu.prototype. [[#variable63456100]]= function (name)
                                                         { this. [[#variable63471480]]=name;
                                                         } ;
/**
 * Sets the class name to use for selected menu items
 * TODO - reevaluate if we can simulate pseudo classes in IE
 *
 * @return {string} The class name to use for selected items.
 */
/**
 * Returns the selected item
 *
 * @return {Element} The item selected or null if no item is selected.
 */
goog.ui.AttachableMenu.prototype. [[#variable634703e0]]= function ( )
                                                         { return this. [[#variable63469f20]];
                                                         } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63456100]]
setItemClassName 
12[[#63456100]]
setSelectedItemClassName 
21[[#63471480]]
itemClassName_ 
22[[#63471480]]
selectedItemClassName_ 
31[[#634703e0]]
getSelectedItemClassName 
32[[#634703e0]]
getSelectedItem 
41[[#63469f20]]
selectedItemClassName_ 
42[[#63469f20]]
selectedElement_