systemjs/systemjs — pull request #130 by justinbmeyer (2014-06-30 04:28:25+00:00)
Title: fixes #129 and makes it possible to list require as a dependency

This adds support and a test of:

## aliased `require` methods

like:

```js
define(function(req){
var foo = req("foo");
})
```

## `require` in the named dependencies

I'm pretty sure code like:

```js
define(["require"], function(require){
var foo = require("foo");
})
```

Was not working because `_getCJSDeps` was only called if there were no arguments. Now it is called if there are no arguments or `require` is an argument. These will work aliased as well:

```js
define(["require"], function(req){
var foo = req("foo");
})
```