You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

What is the correct javascript syntax to write a widget subscriber?

Accepted answer
32
Views
4
Comments

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!