Droppable: Use internal guid instead of jQuery.guid.

This commit is contained in:
Scott González 2012-01-15 11:52:01 -05:00
parent b0fda0cd14
commit 98795e3d91

View File

@ -14,7 +14,8 @@
*/
(function( $, undefined ) {
var droppables = {};
var guid = 0,
droppables = {};
(function() {
var orig = $.ui.draggable.prototype._trigger;
@ -43,7 +44,7 @@ $.widget( "ui.droppable", {
_create: function() {
this.refreshPosition();
this.guid = $.guid++;
this.guid = guid++;
droppables[ this.guid ] = this;
},