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

Resolve naming conflict when the configured name is already used in code #250

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stopcoder
Copy link
Member

When a configured "newVariableName" is already used in a sap.ui.define
call but for a different module path, a new name is given to the
replacer and extender by using the following method:

  • concatenate the last two parts within the module path, for example,
    "CoreElement" is used for module path "sap/ui/core/Element"
  • when the new name is still used in the sap.ui.define call, a number is
    added to the end of the name (starting from 0)

tobiasso85 and others added 2 commits September 6, 2022 10:02
When a configured "newVariableName" is already used in a sap.ui.define
call but for a different module path, a new name is given to the
replacer and extender by using the following method:

* concatenate the last two parts within the module path, for example,
  "CoreElement" is used for module path "sap/ui/core/Element"
* when the new name is still used in the sap.ui.define call, a number is
  added to the end of the name (starting from 0)
@stopcoder stopcoder requested a review from tobiasso85 September 8, 2022 15:19
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.

2 participants