From 8d1713dd8ed55e6c2d4e5f96dfcdf9acd06466f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 23 Jan 2011 17:38:33 -0500 Subject: [PATCH] Widget: Removed comment about storing instances in jQuery.data twice since we now only do it once. --- ui/jquery.ui.widget.js | 2 -- 1 file changed, 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, {},