What is the correct javascript syntax to write a widget subscriber?
Summary:
The documentation for building a widget subscriber doesn't have correct javascript syntax. Specifically
the Create a Subscriber section. Examples for
/plugins/subscribers/my-subscriber/index.js
and
/plugins/subscribers/meta.js
Content (required):
I just want a basic working example of the subscriber syntax
OR
is it possible to see the github repository for @oracle-cx-commerce/subscribers?
I could figure out what they were intending if I could read the code,
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
from example /plugins/subscribers/my-subscriber/index.js
my notes have 4 backslashes ////
Tagged:
0