Skip to Content
0

use multiple external libraries in Fiori App from one file

Apr 28, 2017 at 10:35 AM

51

avatar image

Hi,

I'm using an external library in an UI5 app (Web3.js).

I've done it via manifest.json as usual.

But inside Web3.js several other libraries are included (e.g. in this case function.js)

Inside my controller I can access the Web3 global but not e.g. SolidityFunction which is part of function.js which part of web3.js.

in other web applications it is loaded like this:

var web3 = require('web3'); //not needed as done in manifest.json
var SolidityFunction = require('web3/lib/web3/function');

Is there a way to load explicitly these "sub-files"?

Thank you very much

Aksel

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV Apr 28, 2017 at 03:51 PM
0

manifest.json can only load the resources specified at design time.....in this case web3 is loaded from manifest, and it is resposibility of web3 to load its dependents

Share
10 |10000 characters needed characters left characters exceeded