1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/webroot/rsrc/externals/javelin/lib
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
..
__tests__ Various linter fixes. 2014-02-26 12:44:58 -08:00
control Add a SublimeText-style repository typeahead 2014-05-13 14:08:21 -07:00
behavior.js Use JsShrink if jsxmin is not available 2013-05-18 17:04:22 -07:00
Cookie.js Move all external JS into webroot/rsrc/externals 2013-04-11 10:06:05 -07:00
DOM.js Begin rebuilding dropdown menus on ActionList 2014-05-05 10:56:14 -07:00
History.js Remove spurious "+x" from files that shouldn't have it 2013-10-05 05:18:17 -07:00
JSON.js Move all external JS into webroot/rsrc/externals 2013-04-11 10:06:05 -07:00
Mask.js Use JsShrink if jsxmin is not available 2013-05-18 17:04:22 -07:00
Request.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
Resource.js Fix countdown embeds and endless loops on resource loads in Javelin 2014-06-05 17:16:36 -07:00
Routable.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
Router.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
URI.js Use JsShrink if jsxmin is not available 2013-05-18 17:04:22 -07:00
Vector.js Internet Explorer compatibility fixes 2014-05-14 08:53:11 -07:00
Workflow.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00