mootools/Base — Issue #28: mv Source/Core/* Source/
Author: ibolmo
Created: 2011-10-10 16:13:25+00:00
State: open

Current we do:

``` javascript

require(['Base/Core/Class'], function(Class){

});

```

instead we could:

``` javascript

require(['Base/Class'], function(Class){

});

```

it would play nicely with:

``` javascript

require(['Base/Class', 'Base/Class/Options', 'Base/Class/Events'], function(Class, Options, Events){

});

```

whereas at the moment we have to:

``` javascript

require(['Base/Core/Class', 'Base/Class/Options', ...], function(Class, Options, Events){

});

```

It's a subtle change, but the idea is to follow a namespacing structure:

```
1999 Namespaces | File
--------------------------+-------------------
Accessor Source/Accessor.js
Class Source/Class.js
Class.Options Source/Class/Options.js
Class.Events Source/Class/Events.js
...
Host Source/Host.js
Host.Array Source/Host/Array.js
Host.Date Source/Host/Date.js
...
SandBox Source/SandBox.js
```