Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 2 | 0.979 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 769 | Closure/closure/goog/fx/abstractdragdrop.js |
2 | 1 | 770 | Closure/closure/goog/fx/abstractdragdrop.js |
| ||||
// Subtract margin from drag element position twice, once to adjust the // position given by the original node and once for the drag node. pos.x+= (parseInt(goog.style.getStyle_(el, 'marginLeft'), 10) || 0)* 2; |
| ||||
pos.y+= (parseInt(goog.style.getStyle_(el, 'marginTop'), 10) || 0)* 2; |
| |||
// Subtract margin from drag element position twice, once to adjust the // position given by the original node and once for the drag node. pos. [[#variable1f26e6e0]]+=(parseInt(goog.style.getStyle_(el, [[#variable1f26e680]]),10) || 0)*2; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1f26e6e0]] | x |
1 | 2 | [[#1f26e6e0]] | y |
2 | 1 | [[#1f26e680]] | 'marginLeft' |
2 | 2 | [[#1f26e680]] | 'marginTop' |