docs-v7 icon indicating copy to clipboard operation
docs-v7 copied to clipboard

Javascript examples fixed

Open maamarcos opened this issue 3 years ago • 2 comments

PR Checklist

  • [ ] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
  • [ ] If there is an issue related with this PR, point it out here.

What is the current state of the documentation article?

What is the new state of the documentation article?

Fixes/Implements/Closes #[Issue Number].

maamarcos avatar Jun 14 '21 17:06 maamarcos

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla. CLA has not been signed by users: @maamarcos. After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check as a comment to the PR.

cla-bot[bot] avatar Jun 14 '21 17:06 cla-bot[bot]

The import statements are valid es6 code - so all the example should work as-is - require is supported, but is considered "legacy", and es6 is preferred.

rigor789 avatar Jun 14 '21 17:06 rigor789