How does jQuery.sap.require work?

前端 未结 4 1637
囚心锁ツ
囚心锁ツ 2021-01-07 11:22

Does SAPUI5 load the libraries each time I call jQuery.sap.require(\"someLibrary\")? For instance if I am calling the above statement in multiple modules in my

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-07 12:13

    The libraries are loaded once. This can be seen in the network tab in chrome developer tools.

    Also check the documentation as pointed by cevou here:

    • https://openui5.hana.ondemand.com/#/topic/91f23a736f4d1014b6dd926db0e91070

提交回复
热议问题