Including third party libraries in SAPUI5 Project



You would rather use it like below −

jQuery.sap.require("sap.ui.thirdparty.jqueryui.jquery-ui-core");

Note that jQuery does not have any security-related documentation on their site, but they are known to be aware of security and usually reacting quickly in case security issues are found within their library.

SAPUI5 includes different versions of jQuery together with their own libraries, so also has the possibility to add custom security fixes to jQuery, if necessary.

For more details you can refer to below SAP blog −

https://blogs.sap.com/2017/04/30/how-to-include-third-party-libraries-modules-in-sapui5/


Advertisements