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
refactor(lang/js): Revise JavaScript language support section (#304)
* Revise JavaScript language support section
As with other sections, added more details and factored
out code examples into other files.
* Fixed two errors in `jco componentize` command
The world name was wrong in one of the commands, and "--disable all"
should be "--disable=all" (at least with a recent jco version)
* Added omitted steps of creating package.json files (without which
we get "Cannot use import statement outside a module" error)
* Fixed missing semicolon in component.wit file for string-reverse example
* Corrected string-reverse example to use split() and join() (the example
didn't run before)
* Corrected string-reverse-uppercase example to declare reverseAndUppercase(s)
rather than reverseAndUppercase() (this example also didn't run before).
* Update component-model/src/language-support/javascript.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
* Update component-model/src/language-support/javascript.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
* Update component-model/src/language-support/javascript.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
* Update component-model/src/language-support/javascript.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
* Update component-model/src/language-support/javascript.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
* Update component-model/src/language-support/javascript.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
* Re-add line breaks in jco commands
---------
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
0 commit comments