From c94ffa276b5101275fe2234501417e92f018b439 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Sat, 7 Jun 2008 19:32:51 +0000 Subject: [PATCH] fixed #2928 - Plugin instances should not be exposed in the ui parameter of callbacks --- ui/ui.droppable.js | 1 - ui/ui.slider.js | 1 - ui/ui.tabs.js | 1 - 3 files changed, 3 deletions(-) diff --git a/ui/ui.droppable.js b/ui/ui.droppable.js index d97a5c40f..6f9c5f37f 100644 --- a/ui/ui.droppable.js +++ b/ui/ui.droppable.js @@ -39,7 +39,6 @@ $.widget("ui.droppable", { plugins: {}, ui: function(c) { return { - instance: this, draggable: (c.currentItem || c.element), helper: c.helper, position: c.position, diff --git a/ui/ui.slider.js b/ui/ui.slider.js index 51bc01c9d..73877a21e 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -24,7 +24,6 @@ $.widget("ui.slider", { plugins: {}, ui: function(e) { return { - instance: this, options: this.options, handle: this.currentHandle, value: this.options.axis != "both" || !this.options.axis ? Math.round(this.value(null,this.options.axis == "vertical" ? "y" : "x")) : { diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index 0f4ca1be3..4d0cfbb16 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -38,7 +38,6 @@ $.widget("ui.tabs", { }, ui: function(tab, panel) { return { - instance: this, options: this.options, tab: tab, panel: panel -- 2.39.5