Skip to content

Instantly share code, notes, and snippets.

@jzaefferer
Created July 18, 2013 11:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jzaefferer/7b9236a9b9fabb9d3aff to your computer and use it in GitHub Desktop.
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index 93daaf1..885e201 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -134,6 +134,8 @@ $.widget = function( name, base, prototype ) {
}
$.widget.bridge( name, constructor );
+
+ return constructor;
};
$.widget.extend = function( target ) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment