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

fix: sap.ui.define without callback function #98

Merged
merged 1 commit into from
May 25, 2023
Merged

Conversation

petermuessig
Copy link
Member

Allows using sap.ui.define in classic SAPUI5 runtime code without a callback function. In this case, the parameter names are not relevant and can be ignored. Therefore, the code now just returns an empty array when no callback function and params are found.

Fixes #50

Allows using sap.ui.define in classic SAPUI5 runtime code without
a callback function. In this case, the parameter names are not
relevant and can be ignored. Therefore, the code now just returns
an empty array when no callback function and params are found.

Fixes #50
@petermuessig petermuessig requested a review from akudev May 25, 2023 12:33
@petermuessig petermuessig merged commit c1cd6a8 into main May 25, 2023
6 checks passed
@petermuessig petermuessig deleted the fix/sapUiDefine branch May 25, 2023 18:05
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.

Cannot transform sap.ui.define when no function is provided
2 participants