aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.droppable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-28 15:39:55 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-28 15:39:55 -0400
commit6a5b21fda2730a0650e0144658d47b9b01bffc64 (patch)
treeb210960d5dcef436d861bf664f80c8c0af6f2de7 /ui/jquery.ui.droppable.js
parent2f3284811c867408652bea044849085bda923b34 (diff)
downloadjquery-ui-6a5b21fda2730a0650e0144658d47b9b01bffc64.tar.gz
jquery-ui-6a5b21fda2730a0650e0144658d47b9b01bffc64.zip
All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances.
Diffstat (limited to 'ui/jquery.ui.droppable.js')
-rw-r--r--ui/jquery.ui.droppable.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/jquery.ui.droppable.js b/ui/jquery.ui.droppable.js
index 58a1c4bc1..3942c6b8f 100644
--- a/ui/jquery.ui.droppable.js
+++ b/ui/jquery.ui.droppable.js
@@ -16,6 +16,7 @@
(function( $, undefined ) {
$.widget("ui.droppable", {
+ version: "@VERSION",
widgetEventPrefix: "drop",
options: {
accept: '*',
@@ -146,10 +147,6 @@ $.widget("ui.droppable", {
});
-$.extend($.ui.droppable, {
- version: "@VERSION"
-});
-
$.ui.intersect = function(draggable, droppable, toleranceMode) {
if (!droppable.offset) return false;