From 78482775933362aec1ef76bff23655448fc2d6d5 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Tue, 1 Nov 2011 19:56:11 +0000 Subject: [PATCH] avoid leaks by adding custom empty/remove/replaceWith functions to Ox.Element --- source/Ox.UI/js/Core/Ox.Element.js | 25 ++++++++++++++++++++---- source/Ox.UI/js/Core/Ox.Focus.js | 9 +++++++-- source/Ox.UI/js/Core/Ox.JQueryElement.js | 2 +- source/Ox.UI/js/Panel/Ox.SplitPanel.js | 19 +++++++++++------- 4 files changed, 41 insertions(+), 14 deletions(-) diff --git a/source/Ox.UI/js/Core/Ox.Element.js b/source/Ox.UI/js/Core/Ox.Element.js index 9c7c32da..caa09be0 100644 --- a/source/Ox.UI/js/Core/Ox.Element.js +++ b/source/Ox.UI/js/Core/Ox.Element.js @@ -100,6 +100,7 @@ Ox.Element = function(options, self) { var that = new Ox.JQueryElement( $(self.options.element || '