mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-28 01:10:04 +00:00
FIXME: Document application initialization
Change-Id: Ib5de445b9074fc54a1158084fae480dd10640d6e
This commit is contained in:
parent
e80cc06e03
commit
5dca90a7c3
|
@ -75,7 +75,16 @@
|
|||
*/
|
||||
mw.popups.reducers.rootReducer = Redux.combineReducers( mw.popups.reducers );
|
||||
|
||||
// FIXME: Needs doc (or at least one comment line)
|
||||
/*
|
||||
* Initialize the application by:
|
||||
* 1. Creating the state store
|
||||
* 2. Binding the actions to such store
|
||||
* 3. Trigger the boot action to bootstrap the system
|
||||
* 4. When the page content is ready:
|
||||
* - Process the eligible links for page previews
|
||||
* - Initialize the renderer
|
||||
* - Bind hover and click events to the eligible links to trigger actions
|
||||
*/
|
||||
mw.requestIdleCallback( function () {
|
||||
var compose = Redux.compose,
|
||||
store,
|
||||
|
|
Loading…
Reference in a new issue