cancel
Showing results for 
Search instead for 
Did you mean: 

SAP WEB IDE automatically load "lodash.js". How can be used?

jorge_cabanas
Participant
0 Kudos

Hi guys,

I faced a doubt meanwhile I was reading about third-party libraries in SAPUI5.

As you already know, SAP WEB IDE load automatically the library jQuery.
Well, I noticed that lodash.js is also loaded as is shown in the picture



It's possible to use jQuery directly in the controller files, but not lodash... Any idea?


Best regards,
Jorge

Accepted Solutions (1)

Accepted Solutions (1)

mariusobert
Developer Advocate
Developer Advocate
0 Kudos

Hi Jorge,

I think you mixing up some things here. The Web IDE itself is a webapp which uses lodash.

You can write other webapplication WITH the Web IDE, but you will deploy them as a standalone application. Therefore, libraries of the Web IDE cannot be reused by your applications.

You can use jQuery because this library is part of both, the Web IDE and the SAPUI5 framework.

You can include lodash to your UI5 app if you want to use it there.

Regards,

Marius

jorge_cabanas
Participant

Definitely it was a misunderstanding 🙂

Answers (0)