jquery/jquery-ui — pull request #1116 by scottgonzalez (2013-10-23 12:24:18+00:00)
Title: Remove "Globals" (AMD build prep)

When we switch to AMD, our main closures for each file will be removed in the built file. This is a series of changes to avoid name collisions of variables when the closures are gone.

In some cases, the data was moved into the widget prototype to allow better customization by users. In other cases, the names were just prefixed with the component name to avoid collisions.

UI Core and Effects Core still have unprefixed variables/functions, but I'd like to split these files up when we switch to AMD. So I figured we can wait till the split before dealing with the variables.

Position had a lot of variables, so I just wrapped it in another closure for simplicity. We should come back at some point and clean it up. Why did we create `$.position` AND `$.ui.position`?

Button wasn't touched. @arschmitz is in the process of writing the new version, and if we only have one file that doesn't conform, we're still safe from collisions.