CloneSet669


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.986ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19278
Closure/closure/goog/ui/attachablemenu.js
29296
Closure/closure/goog/ui/attachablemenu.js
Clone Instance
1
Line Count
9
Source Line
278
Source File
Closure/closure/goog/ui/attachablemenu.js

/**
 * Mouse over handler for the menu.
 * @param {goog.events.Event} e The event object.
 * @protected
 */
goog.ui.AttachableMenu.prototype.onMouseOver=  function (e){
  var eltItem=  this.getAncestorMenuItem_( /** @type {Element} */
                                                                 (e.target));
  if (eltItem==  null) {
    return;
                       }
  // Stop the keydown triggering a mouseover in FF.
  if (goog.now( )- this.lastKeyDown_>  goog.ui.PopupBase.DEBOUNCE_DELAY_MS) {
    this.setSelectedItem(eltItem);
                                                                            }
                                                           } ;


Clone Instance
2
Line Count
9
Source Line
296
Source File
Closure/closure/goog/ui/attachablemenu.js

/**
 * Mouse out handler for the menu.
 * @param {goog.events.Event} e The event object.
 * @protected
 */
goog.ui.AttachableMenu.prototype.onMouseOut=  function (e){
  var eltItem=  this.getAncestorMenuItem_( /** @type {Element} */
                                                                 (e.target));
  if (eltItem==  null) {
    return;
                       }
  // Stop the keydown triggering a mouseout in FF.
  if (goog.now( )- this.lastKeyDown_>  goog.ui.PopupBase.DEBOUNCE_DELAY_MS) {
    this.setSelectedItem(null);
                                                                            }
                                                          } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Mouse out handler for the menu.
 * @param {goog.events.Event} e The event object.
 * @protected
 */
/**
 * Mouse over handler for the menu.
 * @param {goog.events.Event} e The event object.
 * @protected
 */
goog.ui.AttachableMenu.prototype. [[#variable62ab6cc0]]= function (e)
                                                         { var eltItem=this.getAncestorMenuItem_( /** @type {Element} */
                                                                                                (e.target));
                                                           if (eltItem==null)
                                                             { return;
                                                             }
                                                           // Stop the keydown triggering a mouseout in FF.
                                                           // Stop the keydown triggering a mouseover in FF.
                                                           if (goog.now( )-this.lastKeyDown_>goog.ui.PopupBase.DEBOUNCE_DELAY_MS)
                                                             { this.setSelectedItem( [[#variable62ab6c60]]);
                                                             }
                                                         } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62ab6cc0]]
onMouseOut 
12[[#62ab6cc0]]
onMouseOver 
21[[#62ab6c60]]
null 
22[[#62ab6c60]]
eltItem