()
| 1556 | |
| 1557 | // Throw an error when a URL is needed, and none is supplied. |
| 1558 | var urlError = function() { |
| 1559 | throw new Error('A "url" property or function must be specified'); |
| 1560 | }; |
| 1561 | |
| 1562 | // Wrap an optional error callback with a fallback error event. |
| 1563 | var wrapError = function (model, options) { |