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: by default add "use strict" directive to sap.ui.define #115

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

petermuessig
Copy link
Member

The "use strict" directive should also be added to each sap.ui.define callback function. Only in case the directive is present on the program node, it will not be added. The addition of the directive can be supressed with the option neverUseStrict.

Fixes #113

The `"use strict"` directive should also be added to each
`sap.ui.define` callback function. Only in case the directive
is present on the program node, it will not be added. The
addition of the directive can be supressed with the option
`neverUseStrict`.

Fixes #113
@petermuessig petermuessig merged commit 7d55cc6 into main Aug 28, 2023
6 checks passed
@petermuessig petermuessig deleted the fix/UseStrict branch August 28, 2023 08:13
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.

use strict; should be moved into sap.ui.define
1 participant