diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-05-28 15:39:55 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-05-28 15:39:55 -0400 |
commit | 6a5b21fda2730a0650e0144658d47b9b01bffc64 (patch) | |
tree | b210960d5dcef436d861bf664f80c8c0af6f2de7 /ui/jquery.ui.draggable.js | |
parent | 2f3284811c867408652bea044849085bda923b34 (diff) | |
download | jquery-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.draggable.js')
-rw-r--r-- | ui/jquery.ui.draggable.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/jquery.ui.draggable.js b/ui/jquery.ui.draggable.js index f8c187a7a..6475ebd61 100644 --- a/ui/jquery.ui.draggable.js +++ b/ui/jquery.ui.draggable.js @@ -15,6 +15,7 @@ (function( $, undefined ) { $.widget("ui.draggable", $.ui.mouse, { + version: "@VERSION", widgetEventPrefix: "drag", options: { addClasses: true, @@ -502,10 +503,6 @@ $.widget("ui.draggable", $.ui.mouse, { }); -$.extend($.ui.draggable, { - version: "@VERSION" -}); - $.ui.plugin.add("draggable", "connectToSortable", { start: function(event, ui) { |