Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

.extend() theme-sections not working properly #149

Open
nicolasalliaume opened this issue Feb 8, 2019 · 0 comments
Open

.extend() theme-sections not working properly #149

nicolasalliaume opened this issue Feb 8, 2019 · 0 comments

Comments

@nicolasalliaume
Copy link

Hi there,

I'm using Slate with the started theme, which in turns uses theme-scripts, and I'm trying to extend a section.

Now the problem I'm having is that there're no instances of a given section (in this case "product") when I call extend( 'product' ). Diving into the theme-sections.js file I could see that the instances are added to the array of instances when load() is called. So I tried calling extend() after calling load(), and in that case it extended it, but onLoad() is not called on the extension (init() is being called though).

Any ideas on how this should be fixed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant