Widget: Removed unnecessary/incorrect logic for widgetEventPrefix.

This commit is contained in:
Scott González 2011-01-13 19:32:08 -05:00
parent 2df430d0e3
commit eabb391e47

View File

@ -49,7 +49,7 @@ $.widget = function( name, base, prototype ) {
$[ namespace ][ name ].prototype = $.extend( true, basePrototype, {
namespace: namespace,
widgetName: name,
widgetEventPrefix: $[ namespace ][ name ].prototype.widgetEventPrefix || name,
widgetEventPrefix: name,
widgetBaseClass: fullName
}, prototype );