maqetta/maqetta — comment on commit 90c562cbc61228b0f6f618e4863442e03d83dbfa
File: maqetta.core.client/WebContent/davinci/ve/widgets/Background.js line 112
By jhpedemonte:

Not good. We're trying to get away from global namespaces. Instead, just add this as a property on the returned function object:

```javascript
// ... start AMD ...
var Background = declare(...);
Background._backgroundWidgets = {};
return Background;
// ... end AMD ...

/* then in BackgroundDialog */
define(['./Background'], function(Background) {
Background._backgroundWidgets;
});