jQuery widgets accessed via a namespace.

Normally, when a widget is defined with a namespace, that namespace is not used when the methods are called. With this code the namespace becomes a required part of the name for that method. So UI tabs would be called $("#tabs").ui.tabs()

In this demo, I used a widget copied verbatim from a demo. When I call $.widget.namespace("custom"); It removes the plugin and adds it back to a namespace. Allowing me to call $("#my-widget1").custom.colorize(); instead of $("#my-widget1").colorize();

$("#my-widget1").custom is a strange beastie. It has all the widgets created in the custom namespace, and a method named end(). But it has no jQuery methods.

color me
color me
color me