Skip to content

Fix Javascript examples in proposal#61

Merged
khushalsagar merged 1 commit intowebmachinelearning:mainfrom
beaufortfrancois:patch-2
Jan 20, 2026
Merged

Fix Javascript examples in proposal#61
khushalsagar merged 1 commit intowebmachinelearning:mainfrom
beaufortfrancois:patch-2

Conversation

@beaufortfrancois
Copy link
Copy Markdown
Contributor

I've noticed the following Javascript issues in the proposal examples:

  • execute: async execute(...) => { is not valid. It should be execute: (...) => {.
  • buyProduct(input should be buyProduct({ product_id } as we don't use input.
  • "modelContext" in window is wrong. It should be "modelContext" in window.navigator.
  • Remove extra async that are not needed.

@beaufortfrancois
Copy link
Copy Markdown
Contributor Author

@khushalsagar Please review

@w3cbot
Copy link
Copy Markdown
Contributor

w3cbot commented Jan 7, 2026

anssiko marked as non substantive for IPR from ash-nazg.

@beaufortfrancois
Copy link
Copy Markdown
Contributor Author

gentle ping

@khushalsagar khushalsagar merged commit f76a110 into webmachinelearning:main Jan 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants