Popupwindow: reserved words has been removed
authorhjnim.kim <hjnim.kim@samsung.com>
Thu, 18 Apr 2013 13:50:56 +0000 (22:50 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Fri, 26 Apr 2013 05:43:29 +0000 (14:43 +0900)
reserved words has been removed
( var final has been removed )

Change-Id: I89b4006c1fa212e23f5d358a6b4f8afc8906150d

src/js/widgets/jquery.mobile.tizen.popupwindow.ctxpopup.js

index 45c8648..1aa2b7e 100644 (file)
@@ -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