Thanks for your reply. I still couldn’t get it to work though. Looking at the code, require.js tries to load js file through DOM API which we don’t have. It creates
Could you please share some details?
I guess first of all I need to use the require call provided by JSB to load all the js files. And then rename change require in require.js to something else.
Is there anything else needed?
Jose Antonio Andujar wrote:
I had to rename requirejs calls to “earquire” in order to work with JSB, because require is a JSB native special keyword