You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
The text was updated successfully, but these errors were encountered: