adobe / aem-spa-page-model-manager

Interface between Adobe Experience Manager and Single Page Application framework.
Apache License 2.0
35 stars 24 forks source link

fix: wait for dynamic editor libs to load in editor mode #51

Closed CezCz closed 3 years ago

CezCz commented 3 years ago

Description

In case editor libs (page.js and so on) are loaded dynamically. The execution must wait untill the scripts trigger load event.

Motivation and Context

The problem was when pagemodel was loaded, an event triggered and there was nobody yet (i.e message.js from editor's package) to listen to this event.

How Has This Been Tested?

Manual + automated tests More tests to come

Types of changes

Checklist:

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.3.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: