From: Scott González Date: Sun, 23 Jan 2011 22:38:33 +0000 (-0500) Subject: Widget: Removed comment about storing instances in jQuery.data twice since we now... X-Git-Tag: 1.9m4~38^2~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8d1713dd8ed55e6c2d4e5f96dfcdf9acd06466f7;p=jquery-ui.git Widget: Removed comment about storing instances in jQuery.data twice since we now only do it once. --- diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index ea1826481..f6089519b 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -134,8 +134,6 @@ $.Widget.prototype = { }, _createWidget: function( options, element ) { element = $( element || this.defaultElement )[ 0 ]; - // $.widget.bridge stores the plugin instance, but we do it anyway - // so that it's stored even before the _create function runs $.data( element, this.widgetName, this ); this.element = $( element ); this.options = $.extend( true, {},