View Single Post
06/21/14, 08:26 AM   #12
Sasky
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 231
Pushed merge. Got a little tricky since I ended up splitting your change into separate commits to make it easier to manage merging. (Want to setup Git, Garkin? )

Master branch is sitting without the Promise objects - those are on a separate branch at the moment.

So one of the main issues I was having was with settings initialization. I saw you poking around a little bit at that for handling addons that create the menu pre-init.

Is it something like this?
  1. Check all manifests to determine load order
  2. Load addons in that order, executing pre-init code
  3. Load all saved variables (any order?)
  4. Run through addon init (any order?)

Or is the init tied to the saved variables load?
  1. Check all manifests to determine load order
  2. Load addons in that order, executing pre-init code
  3. For each addon (order?):
    1. Load saved vars
    2. Fire addon init event for that addon