1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/webroot/rsrc/js/application/aphlict
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
..
Aphlict.js Make JX.Aphlict a real singleton with a more sensible initialization order 2014-06-23 15:19:34 -07:00
behavior-aphlict-dropdown.js Change double quotes to single quotes in JavaScript. 2014-06-24 03:35:39 +10:00
behavior-aphlict-listen.js Make JX.Aphlict a real singleton with a more sensible initialization order 2014-06-23 15:19:34 -07:00