Skip to content
Permalink
Browse files

Widget: Removed comment about storing instances in jQuery.data twice …

…since we now only do it once.
  • Loading branch information
scottgonzalez committed Jan 23, 2011
1 parent 244eebe commit 8d1713dd8ed55e6c2d4e5f96dfcdf9acd06466f7
Showing with 0 additions and 2 deletions.
  1. +0 −2 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, {},

0 comments on commit 8d1713d

Please sign in to comment.
You can’t perform that action at this time.