Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.989 | StatementList[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 225 | Closure/closure/goog/ui/plaintextspellchecker.js |
2 | 6 | 430 | Closure/closure/goog/ui/plaintextspellchecker.js |
| ||||
var eh= this.eventHandler_; eh.listen(this.overlay_, goog.events.EventType.CLICK, this.onWordClick_); eh.listen( /** @type {goog.events.KeyHandler} */ (this.keyHandler_), goog.events.KeyHandler.EventType.KEY, this.handleOverlayKeyEvent); // The position and size of the overlay element needs to be recalculated if // the browser window is resized. var win= goog.dom.getWindow(this.getDomHelper( ).getDocument( )) || window; |
| ||||
var eh= this.eventHandler_; eh.unlisten(this.overlay_, goog.events.EventType.CLICK, this.onWordClick_); eh.unlisten( /** @type {goog.events.KeyHandler} */ (this.keyHandler_), goog.events.KeyHandler.EventType.KEY, this.handleOverlayKeyEvent); var win= goog.dom.getWindow(this.getDomHelper( ).getDocument( )) || window; |
| |||
var eh=this.eventHandler_; eh. [[#variable574ff100]](this.overlay_,goog.events.EventType.CLICK,this.onWordClick_); eh. [[#variable574ff100]]( /** @type {goog.events.KeyHandler} */ (this.keyHandler_),goog.events.KeyHandler.EventType.KEY,this.handleOverlayKeyEvent); // The position and size of the overlay element needs to be recalculated if // the browser window is resized. var win=goog.dom.getWindow(this.getDomHelper( ).getDocument( )) || window; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#574ff100]] | listen |
1 | 2 | [[#574ff100]] | unlisten |