aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-01-23 17:38:33 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-23 17:38:33 -0500
commit8d1713dd8ed55e6c2d4e5f96dfcdf9acd06466f7 (patch)
treef4371f078949cfc6e063d454140e362783d1b781 /ui/jquery.ui.widget.js
parent244eebe74dbc7bb35141e58e52ef9eaa21bd35f1 (diff)
downloadjquery-ui-8d1713dd8ed55e6c2d4e5f96dfcdf9acd06466f7.tar.gz
jquery-ui-8d1713dd8ed55e6c2d4e5f96dfcdf9acd06466f7.zip
Widget: Removed comment about storing instances in jQuery.data twice since we now only do it once.
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r--ui/jquery.ui.widget.js2
1 files changed, 0 insertions, 2 deletions
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, {},