← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1347072] [NEW] Assign js init methods with names

 

Public bug reported:

Currently, we have old javascripts that automatically  get initialized
when the document is ready. This patch provides a mechanism to access
those initialization code by assigning them a name.

Why do we need this? If we are to load things asynchronously (as in the
case of angular), we need a mechanism to postpone initialization code
until the data/layouts/etc.. are retrieved and rendered. This would also
give us control over init code (not all are required all the time).

** Affects: horizon
     Importance: Undecided
     Assignee: Thai Tran (tqtran)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1347072

Title:
  Assign js init methods with names

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  Currently, we have old javascripts that automatically  get initialized
  when the document is ready. This patch provides a mechanism to access
  those initialization code by assigning them a name.

  Why do we need this? If we are to load things asynchronously (as in
  the case of angular), we need a mechanism to postpone initialization
  code until the data/layouts/etc.. are retrieved and rendered. This
  would also give us control over init code (not all are required all
  the time).

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1347072/+subscriptions


Follow ups

References