Initial rewrite of TreeDownloder to handle execution duties
The TreeDownloader in its original form was having difficulty with items
scheduled during the next-tick of the event loop. The solution to this is
to make sure TreeDownloader knows what is is executing (and when),
managing all aspects of the TreeNode collection. A nesting example is up
for now until there are some tests behind it.
updated so all src tests are passing. Still need to make integration tests pass
Passing all basic integration tests and beginning work on the AMD suite
Passing all AMD tests except for the plugin support
Cleaned up the executor calls. Right now, includes are not based on their predecessor
To solve this, we still need to maintain a "require" chain. Requires are contextual,
especially when using plugins
Passing AMD Suite
fixed executor tests
Passing all SRC tests
passing CJS determinism tests
passing all CJS tests, one AMD regression introduced
Passing all tests
Added nesting example, and cleaned up the global define() to be consistent with internal define()
Added dependency to test
Added support for PhantomJS stack tracking (false failure in TravisCI)
Code cleanup walkthrough with @gvsboy
Removes a bunch of dead code, adds comments where needed, and documents
functions that were missing documentation
Changes based on feedback in person from @jameskranz (github)
* Removed Server Wait: No longer 3 second lag for testing
* Using [\w\W] instead of . for character matching in define regex
* converted all define/require regex to multiline versions
* added null protection in id/file resolution
Merge pull request #285 from Jakobo/nesting

5.1 changes to fix serious nesting bug, will result in RC2