mirror of
https://github.com/adnexus/jquery-ui.git
synced 2026-07-27 07:04:53 +00:00
Widget: Removed comment about storing instances in jQuery.data twice since we now only do it once.
This commit is contained in:
Vendored
-2
@@ -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, {},
|
||||
|
||||
Reference in New Issue
Block a user