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 */