| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 4 | 4 | 0.956 | CallExpression |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 253 | Closure/closure/goog/positioning/positioning.js |
| 2 | 2 | 82 | Closure/closure/goog/positioning/viewportclientposition.js |
| 3 | 2 | 101 | Closure/closure/goog/positioning/viewportclientposition.js |
| 4 | 3 | 109 | Closure/closure/goog/positioning/viewportclientposition.js |
| ||||
goog.positioning.positionAtCoordinate(absolutePos,
movableElement,
movableElementCorner,
opt_margin,
viewport,
opt_overflow,
opt_preferredSize)
|
| ||||
goog.positioning.positionAtCoordinate(clientPos, element, corner,
opt_margin, viewport, failXY, opt_preferredSize)
|
| ||||
goog.positioning.positionAtCoordinate(clientPos, element, corner,
opt_margin, viewport, failXY, opt_preferredSize)
|
| ||||
// If that failed, the viewport is simply too small to contain the popup.
// Revert to the original position.
goog.positioning.positionAtCoordinate(
clientPos, element, popupCorner, opt_margin, viewport, undefined,
opt_preferredSize)
|
| |||
// If that failed, the viewport is simply too small to contain the popup. // Revert to the original position. goog.positioning.positionAtCoordinate( [[#variable62c53980]], [[#variable62c538e0]], [[#variable62c53860]],opt_margin,viewport, [[#variable62c53800]],opt_preferredSize) |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#62c53980]] | clientPos |
| 1 | 2 | [[#62c53980]] | clientPos |
| 1 | 3 | [[#62c53980]] | absolutePos |
| 1 | 4 | [[#62c53980]] | clientPos |
| 2 | 1 | [[#62c538e0]] | element |
| 2 | 2 | [[#62c538e0]] | element |
| 2 | 3 | [[#62c538e0]] | movableElement |
| 2 | 4 | [[#62c538e0]] | element |
| 3 | 1 | [[#62c53860]] | corner |
| 3 | 2 | [[#62c53860]] | popupCorner |
| 3 | 3 | [[#62c53860]] | movableElementCorner |
| 3 | 4 | [[#62c53860]] | corner |
| 4 | 1 | [[#62c53800]] | failXY |
| 4 | 2 | [[#62c53800]] | undefined |
| 4 | 3 | [[#62c53800]] | opt_overflow |
| 4 | 4 | [[#62c53800]] | failXY |