@jrburke Basically, lot's of jQuery plugins use the jQueryUI Widget Factory completely separate of jQueryUI to help build standalone jQuery plugins (not associated with jQueryUI at all).  The jQueryUI Widget Factory removes the normal boilerplate code a developer has to write for every jQuery plugin and adds other helpful things (methods, etc) as well.

I was suggesting that the **jquery.widget.js** code would be consumed by developers who don't necessarily use jQueryUI.  So third-party developers, like me, who use the jQueryUI Widget Factory to build standalone jQuery plugins need some sort of dependency hook.  Like this:

```javascript
;(function (selectBoxIt) {

    if (typeof define === "function" && define.amd) {
        // AMD. Register as an anonymous module.
        define(["jquery", "jquery.ui.widget"], function() {

            selectBoxIt(window.jQuery, window, document);

        });
    } else {
        // Browser globals
        selectBoxIt(window.jQuery, window, document);
    }

}
(function ($, window, document, undefined) {

    // The SelectBoxIt jQuery plugin code would go here

})); // End of all modules
```