Shopify/batman — comment on commit 98e20ec8ab7cdf0fb1323d345175c83e7c9045d3
File: src/batman.coffee line 2771
By ktusznio:

A one-level conditional reads better here

```coffeescript
url = if typeof record.constructor.url is 'function'
...
else if record.constructor.url
...
else
...
```