CorilloApps/TiAppCore — pull request #1 by mexitek (2012-01-02 07:56:57+00:00)
Title: sandbox.use()

## Purpose
This method will allow modules to access each other, by first asking the sandbox for permission. If the sandbox deems ask-ee suitable to access desired module, then the module object is returned via callback.

## Usage

```javascript
core.registerModule( 'my-new-module', function( sandbox ) {
// ......
sandbox.use('misc-module',function(module){
// At this point, sandbox granted you permission to use 'misc-module'
// Sandbox passed you the module via param
module.foo();
});
// ......
});
```