reserved words has been removed
( var final has been removed )
Change-Id: I89b4006c1fa212e23f5d358a6b4f8afc8906150d
)
),
// Triangle points here
- final = {
+ finalposition = {
"x": orig.x + ( isHorizontal ? triangleOffset : 0) + ("r" === arrow ? size.cx : 0),
"y": orig.y + (!isHorizontal ? triangleOffset : 0) + ("b" === arrow ? size.cy : 0)
},
ret = {
actual : orig,
triangleOffset : triangleOffset,
- absDiff : Math.abs( x - final.x ) + Math.abs( y - final.y )
+ absDiff : Math.abs( x - finalposition.x ) + Math.abs( y - finalposition.y )
};
// Hide it back