From 1b682bc3c264835c25c38609d1b70ae8111cab12 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Wed, 21 May 2014 23:52:22 -0300 Subject: [PATCH] remove positionRelativeTo method --- web2d/src/main/javascript/Element.js | 6 ------ web2d/src/main/javascript/peer/svg/ElementPeer.js | 7 ------- 2 files changed, 13 deletions(-) diff --git a/web2d/src/main/javascript/Element.js b/web2d/src/main/javascript/Element.js index fc36910d..27d24348 100644 --- a/web2d/src/main/javascript/Element.js +++ b/web2d/src/main/javascript/Element.js @@ -67,12 +67,6 @@ web2d.Element = new Class({ this._peer.setPosition(cx, cy); }, - - positionRelativeTo : function(elem, options) { - this._peer.positionRelativeTo(elem, options); - - }, - /** * Allows the registration of event listeners on the event target. * type diff --git a/web2d/src/main/javascript/peer/svg/ElementPeer.js b/web2d/src/main/javascript/peer/svg/ElementPeer.js index 26a6cf7d..b97bc9bb 100644 --- a/web2d/src/main/javascript/peer/svg/ElementPeer.js +++ b/web2d/src/main/javascript/peer/svg/ElementPeer.js @@ -214,13 +214,6 @@ web2d.peer.svg.ElementPeer = new Class({ return listeners; }, -// positionRelativeTo:function (elem, options) { -// options = !$defined(options) ? {} : options; -// options['relativeTo'] = document.id(this._native); -// elem.position(options); -// }, -// - /** * Move element to the front */