Closed jbragiel closed 5 years ago
These should all be fixed with the cleanup mentioned in https://github.com/SAP/openui5/issues/2584#issuecomment-511097339 . I'll update this ticket once the cleanup has been submitted.
Yep, all fixed by a run of the ui5-migraton tooling.
This is different than https://github.com/SAP/openui5/issues/2584 because, in this case, the dependencies are being properly required/imported, but then the module/object is referenced from the global namespace instead of the AMD-style function parameter result.
OpenUI5 version: 1.60 (but checked that issue is still present in master branch)
Browser/version (+device/version): N/A
Any other tested browsers/devices(OK/FAIL): N/A
URL (minimal example if possible): N/A
User/password (if required and possible - do not post any confidential information here): N/A
Steps to reproduce the problem:
What is the expected result? Use of the global namespace is kept to a minimum.
What happens instead? There are some instances where the global namespace is used, even though the same object is available from the sap.ui.define API.
Any other information? (attach screenshot if possible)
src/sap.m/src/sap/m/MultiComboBox.js sap.m.Tokenizer.TokenChangeType
src/sap.m/src/sap/m/PDFViewer.js jquery.sap.global (It provides jQuery.sap.log.warning)
src/sap.m/src/sap/m/PlanningCalendar.js sap.m.Sticky
src/sap.m/src/sap/m/StepInput.js sap.m.StepInputValidationMode
src/sap.m/src/sap/m/Table.js sap.m.ListBaseRenderer
src/sap.ui.core/src/sap/ui/core/routing/async/Target.js sap.ui.core.ComponentLifecycle
src/sap.ui.core/src/sap/ui/model/FilterProcessor.js sap.ui.Device
src/sap.ui.unified/src/sap/ui/unified/calendar/Month.js sap.ui.unified.DateRange
src/sap.ui.ux3/src/sap/ui/ux3/DataSet.js sap.ui.model.SelectionModel