• Robert Knight's avatar
    Read sidebar app config asynchronously on startup · d60435e3
    Robert Knight authored
    In preparation for introducing an optional new postMessage-based method
    for the sidebar app to fetch configuration from its embedder, make the
    setting fetch flow async.
    
    - Move the Angular app startup logic into a function which receives
      settings as an argument.
    - Add a function to merge config rendered into the sidebar app HTML
      page with config fetched asynchronously from a host frame.
    d60435e3
index.js 9.83 KB