1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00
phorge-phorge/webroot/rsrc
epriestley d06679a021 Fix countdown embeds and endless loops on resource loads in Javelin
Summary:
Fixes T5273. Two issues:

  - If a JX.Resource callback throws, we keep running it. Instead, make sure it gets cleaned up before raising an exception.
  - The countdown timer script doesn't recover gracefully if the node has been removed from the document by the time it runs. Instead, just bail if we can't find the countdown.

Test Plan: Dumped `{Cxyz}` into a preview and got a countdown.

Reviewers: yungsters

Reviewed By: yungsters

Subscribers: epriestley

Maniphest Tasks: T5273

Differential Revision: https://secure.phabricator.com/D9399
2014-06-05 17:16:36 -07:00
..
css FontAwesome RemarkupBar 2014-06-05 10:37:21 -07:00
externals Fix countdown embeds and endless loops on resource loads in Javelin 2014-06-05 17:16:36 -07:00
image FontAwesome RemarkupBar 2014-06-05 10:37:21 -07:00
js Fix countdown embeds and endless loops on resource loads in Javelin 2014-06-05 17:16:36 -07:00
swf Catch errors that may occur whilst receiving data from the Aphlict server. 2014-06-05 09:43:41 -07:00