This repository has been archived on 2025-05-05. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
scratchx/js
Christopher Willis-Ford 5a1a103ffb Ensure extensions don't load until editor is ready
Prior to this change, there were two versions of the code meant to load
extensions from URL query parameters:
- One version reliably waited for the editor to be ready, but looked for
  "ext=" and "proj=" query parameters. This was an old version of the
  JS-Flash interface that was never documented; the docs say to use
  "url=" for both projects and extensions.
- The other version correctly looked for "url=" but did not reliably
  wait for the editor to be ready. This seems to be the most likely
  culprit for reports that extensions sometimes fail to load.

This change unifies those two paths into one which looks for "url=" and
waits for the editor to be ready.
2017-03-15 14:27:50 -07:00
..
scratchx.js Ensure extensions don't load until editor is ready 2017-03-15 14:27:50 -07:00