From 7776232947969a32344b1ea1ccc3c3aee167b21d Mon Sep 17 00:00:00 2001 From: "hjnim.kim" Date: Thu, 18 Apr 2013 22:50:56 +0900 Subject: [PATCH] Popupwindow: reserved words has been removed reserved words has been removed ( var final has been removed ) Change-Id: I89b4006c1fa212e23f5d358a6b4f8afc8906150d --- src/js/widgets/jquery.mobile.tizen.popupwindow.ctxpopup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/widgets/jquery.mobile.tizen.popupwindow.ctxpopup.js b/src/js/widgets/jquery.mobile.tizen.popupwindow.ctxpopup.js index 45c8648..1aa2b7e 100644 --- a/src/js/widgets/jquery.mobile.tizen.popupwindow.ctxpopup.js +++ b/src/js/widgets/jquery.mobile.tizen.popupwindow.ctxpopup.js @@ -227,14 +227,14 @@ define( [ '../jquery.mobile.tizen.core', 'jquery.mobile.tizen.popupwindow', 'jqu ) ), // 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 -- 2.7.4