addyosmani/basket.js — pull request #17 by peol (2012-03-03 22:59:09+00:00)
Title: Added support for overridden key name, modified the add() signature

This commit adds support for custom key names:

```
basket.add("jquery-1.7.1.js", { key: "jquery" });
```

```
basket.require("jquery");
```

```
basket.remove("jquery");
```

The signature also changed to:

```
basket.add("jquery-1.7.1", { key: "foo", overwrite: false }, function() {
});
```