Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always include the JSAPI reference for internal functions #614

Merged
merged 2 commits into from May 10, 2019

Conversation

rajsite
Copy link
Member

@rajsite rajsite commented May 9, 2019

This change makes it so that the jsapi is always included for internal functions. This enables ASW to reflect on the arguments property of a function to count the number of arguments that were passed in. This way a single function can be called with a variable number of arguments and always get access to the jsapi reference.

This is for the following user story: https://ni.visualstudio.com/DevCentral/_workitems/edit/120177/

Copy link
Contributor

@cglzaguilar cglzaguilar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me.

@cglzaguilar cglzaguilar merged commit c296b54 into ni:master May 10, 2019
Copy link
Contributor

@ggumen ggumen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

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.

None yet

3 participants