Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.03 KB

JavaScript_Coding_Guidelines_eded636.md

File metadata and controls

25 lines (13 loc) · 1.03 KB
loio
eded636b85584cd586b1fe231d2b5dac

JavaScript Coding Guidelines

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.