jQuery.readyException()


jQuery.readyException( error )Возвращает: Selector

Описание: Handles errors thrown synchronously in functions wrapped in jQuery().

This method is fired when an error is thrown synchronously in a function wrapped in jQuery() or jQuery( document ).ready(), or equivalent. By default it re-throws the error in a timeout so that it's logged in the console and passed to window.onerror instead of being swallowed. Overwrite this method if you want to handle such errors differently.

Примеры использования