on 01-19-2017 1:40 PM
Hi,
I am using cordova and openui5 to create mobile app, however as you know, ui5 does not load all the js firstly, only when some js file is required, such as d3, the framework help load that file by xhr. My issue is, in cordova, since I use the local ui5 file, now when the d3 file is required, it is also loaded from local file by file:///, but this is forbidden due to cross domain. So the problem is that I can not use d3 and any other js file which are loaded dynmicilly. Any idea on this?
Regards
I would think that maybe your version of openui5 does not have d3 included in it. Check your source files, it should be under resources/sap/ui/thirdparty.
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I use online ui5 js, this is not is problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.