Provides an overview of the guidelines for JavaScript coding for OpenUI5.
For JavaScript, the following general guidelines apply:
Do not use global JavaScript variables. For more information, see Modules and Dependencies.
Do not access internal (private) members of other objects.
Do not use the browser-native console
object to produce a console output. Use the sap/base/log
module and its respective methods to create log entries.
Do not override OpenUI5 code (JavaScript, CSS, etc.). Such modifications may break parts of other OpenUI5 projects.