documentcloud/backbone — pull request #2057 by eastridge (2012-12-31 20:07:02+00:00)
Title: Add {silent: true} option to model.url() to surpress error

It is useful to check wether or not a model has a `url` without throwing an exception. This pull request adds a `{silent: true}` option which will surpress the exception if a url is not found.

If brevity is of concern another possibility would be to make it a boolean argument `surpressError`.