Skip to content

Commit 8d1713d

Browse files
committed
Widget: Removed comment about storing instances in jQuery.data twice since we now only do it once.
1 parent 244eebe commit 8d1713d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ui/jquery.ui.widget.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ $.Widget.prototype = {
134134
},
135135
_createWidget: function( options, element ) {
136136
element = $( element || this.defaultElement )[ 0 ];
137-
// $.widget.bridge stores the plugin instance, but we do it anyway
138-
// so that it's stored even before the _create function runs
139137
$.data( element, this.widgetName, this );
140138
this.element = $( element );
141139
this.options = $.extend( true, {},

0 commit comments

Comments
 (0)