]> source.dussan.org Git - jquery-ui.git/commitdiff
Widget: Removed comment about storing instances in jQuery.data twice since we now...
authorScott González <scott.gonzalez@gmail.com>
Sun, 23 Jan 2011 22:38:33 +0000 (17:38 -0500)
committerScott González <scott.gonzalez@gmail.com>
Sun, 23 Jan 2011 22:38:33 +0000 (17:38 -0500)
ui/jquery.ui.widget.js

index ea182648151afaaa7b0317f647cf40b00e1f1428..f6089519b28fa81a38595cae165137115ea487a8 100644 (file)
@@ -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, {},