()
| 1591 | |
| 1592 | // Throw an error when a URL is needed, and none is supplied. |
| 1593 | var urlError = function() { |
| 1594 | throw new Error('A "url" property or function must be specified'); |
| 1595 | }; |
| 1596 | |
| 1597 | // Wrap an optional error callback with a fallback error event. |
| 1598 | var wrapError = function(model, options) { |