resourceloader: Backport jquery-migrate.js patch for exceptionHook
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 22 Jun 2017 22:49:56 +0000 (23:49 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 22 Jun 2017 22:49:56 +0000 (23:49 +0100)
commita77525e56ac1a945d3cb2ef150191137d815fceb
tree2001ad24e0ef992063f2835791329e594d4b02ab
parent468ae96d5dfee1dd2a309e80e3608cd509179ed9
resourceloader: Backport jquery-migrate.js patch for exceptionHook

jQuery Migrate has to monkey-patch jQuery.Deferred, but in doing so
it also effectively disables exceptionHook, which means exceptions
are no longer logged to the console.

<https://github.com/jquery/jquery-migrate/pull/262>

Bug: T168086
Change-Id: Id46abcc7fb5e65954532b114636bf0f1f000a551
resources/lib/jquery/jquery.migrate.js