aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-06-07 19:32:51 +0000
committerRichard Worth <rdworth@gmail.com>2008-06-07 19:32:51 +0000
commitc94ffa276b5101275fe2234501417e92f018b439 (patch)
treef13b5d21ee09f12a25fb8cd9786250f40cd0dcaf
parent94236b383407bfedb2db5b3317ec536e50afa1c4 (diff)
downloadjquery-ui-c94ffa276b5101275fe2234501417e92f018b439.tar.gz
jquery-ui-c94ffa276b5101275fe2234501417e92f018b439.zip
fixed #2928 - Plugin instances should not be exposed in the ui parameter of callbacks
-rw-r--r--ui/ui.droppable.js1
-rw-r--r--ui/ui.slider.js1
-rw-r--r--ui/ui.tabs.js1
3 files changed, 0 insertions, 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