synergy icon indicating copy to clipboard operation
synergy copied to clipboard

Parameter missing in API docs

Open tail-call opened this issue 5 years ago • 1 comments

See https://synergyjs.org/api

Docs say that define's syntax is:

define(tagName, factory, options);

I presume that instead it should say:

define(tagName, factory, template, options);

Thanks for the awesome project, by the way!

tail-call avatar Jan 10 '21 06:01 tail-call

Yes, absolutely right, and you're very much welcome! Thanks for taking the time to raise this issue, it's now fixed in the docs.

defx avatar Jan 10 '21 07:01 defx