Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Javascript examples fixed #1957

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

maamarcos
Copy link

PR Checklist

What is the current state of the documentation article?

What is the new state of the documentation article?

Fixes/Implements/Closes #[Issue Number].

@cla-bot
Copy link

cla-bot bot commented Jun 14, 2021

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.

@rigor789
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants