1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 09:20:58 +01:00
phorge-phorge/webroot/rsrc
epriestley dd91732df3 Make JX.Aphlict a real singleton with a more sensible initialization order
Summary:
Ref T5373. The control flow between `aphlict-listener` and `JX.Aphlict` is pretty weird right now, where the listener (which is the highest-level component) has intimate knowledge of how to put the SWF on the page.

Instead:

  - Make `JX.Aphlict` a real singleton.
  - Instantiate it sooner.
  - Have it handle the flash setup handshake.

Test Plan: Loaded page in debug mode, saw normal flow take place.

Reviewers: joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T5373

Differential Revision: https://secure.phabricator.com/D9699
2014-06-23 15:19:34 -07:00
..
css First version of "Quest Tracker" Home NUX 2014-06-23 09:37:51 -07:00
externals Fix countdown embeds and endless loops on resource loads in Javelin 2014-06-05 17:16:36 -07:00
image PHUIImageMask 2014-06-18 14:09:37 -07:00
js Make JX.Aphlict a real singleton with a more sensible initialization order 2014-06-23 15:19:34 -07:00
swf Make JX.Aphlict a real singleton with a more sensible initialization order 2014-06-23 15:19:34 -07:00