DamonOehlman/interleave — Issue #2: $1 appended by default for aliases
Author: secoif
Created: 2011-10-20 01:58:45+00:00
State: open

{
"aliases": {
"cog": "github://sidelab/cog/cogs/$1",
"backbone": "github://documentcloud/backbone/backbone?v=0.5.0"
}
}

The $1 should be assumed

so this should work:

```javascript
//= cog!jsonp
```

for both

```javascript
"cog": "github://sidelab/cog/cogs/$1"
```

and

```javascript
"cog": "github://sidelab/cog/cogs/"
```

You may want to consider auto-adding a trailing slash for any :// url if they try adding anything after the !, as this is probably the most common use-case (if you want something without trailing slash, explicitly put the $1 in)

```javascript
"cog": "github://sidelab/cog/cogs"
```