Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.986 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 278 | Closure/closure/goog/ui/attachablemenu.js |
2 | 9 | 296 | 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); } } ; |
| ||||
/** * 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); } } ; |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62ab6cc0]] | onMouseOut |
1 | 2 | [[#62ab6cc0]] | onMouseOver |
2 | 1 | [[#62ab6c60]] | null |
2 | 2 | [[#62ab6c60]] | eltItem |