Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 5 | 0.962 | Cases[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 813 | Closure/closure/goog/fx/draglistgroup.js |
2 | 12 | 825 | Closure/closure/goog/fx/draglistgroup.js |
| ||||
case goog.fx.DragListDirection.DOWN: // "Before" means draggerElCenter.y is less than item's bottom y-value. relevantCoord= draggerElCenter.y; getRelevantBoundFn= goog.fx.DragListGroup.getBottomBound_; isBeforeFn= goog.fx.DragListGroup.isLessThan_; break; case goog.fx.DragListDirection.UP: // "Before" means draggerElCenter.y is greater than item's top y-value. relevantCoord= draggerElCenter.y; getRelevantBoundFn= goog.fx.DragListGroup.getTopBound_; isBeforeFn= goog.fx.DragListGroup.isGreaterThan_; break; |
| ||||
case goog.fx.DragListDirection.RIGHT: // "Before" means draggerElCenter.x is less than item's right x-value. relevantCoord= draggerElCenter.x; getRelevantBoundFn= goog.fx.DragListGroup.getRightBound_; isBeforeFn= goog.fx.DragListGroup.isLessThan_; break; case goog.fx.DragListDirection.LEFT: // "Before" means draggerElCenter.x is greater than item's left x-value. relevantCoord= draggerElCenter.x; getRelevantBoundFn= goog.fx.DragListGroup.getLeftBound_; isBeforeFn= goog.fx.DragListGroup.isGreaterThan_; break; |
| |||
case goog.fx.DragListDirection. [[#variable383e35c0]]: // "Before" means draggerElCenter.x is less than item's right x-value. // "Before" means draggerElCenter.y is less than item's bottom y-value. relevantCoord=draggerElCenter. [[#variable383e3520]]; getRelevantBoundFn=goog.fx.DragListGroup. [[#variable383e33c0]]; isBeforeFn=goog.fx.DragListGroup.isLessThan_; break; case goog.fx.DragListDirection. [[#variable383e3460]]: // "Before" means draggerElCenter.x is greater than item's left x-value. // "Before" means draggerElCenter.y is greater than item's top y-value. relevantCoord=draggerElCenter. [[#variable383e3520]]; getRelevantBoundFn=goog.fx.DragListGroup. [[#variable383e3360]]; isBeforeFn=goog.fx.DragListGroup.isGreaterThan_; break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#383e35c0]] | RIGHT |
1 | 2 | [[#383e35c0]] | DOWN |
2 | 1 | [[#383e3520]] | x |
2 | 2 | [[#383e3520]] | y |
3 | 1 | [[#383e33c0]] | getRightBound_ |
3 | 2 | [[#383e33c0]] | getBottomBound_ |
4 | 1 | [[#383e3460]] | LEFT |
4 | 2 | [[#383e3460]] | UP |
5 | 1 | [[#383e3360]] | getLeftBound_ |
5 | 2 | [[#383e3360]] | getTopBound_ |