docs-v7
docs-v7 copied to clipboard
Javascript examples fixed
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].
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.
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.