I see there is a Espo.loadLib function, but it does not seem to work. Say that I want to load this js: http://yourjavascript.com/31429113014/x.js
If I host the file myself it seems to work Espo.loadLib('x.js',function(){console.log('loaded ');}); but putting the whole url does not work, but that is not a big deal.
Yet I don't think that loading libraries in a view is the best design because of the delay each time. How can I load a library along with the others normally loaded by espo before the interface loads?
If I host the file myself it seems to work Espo.loadLib('x.js',function(){console.log('loaded ');}); but putting the whole url does not work, but that is not a big deal.
Yet I don't think that loading libraries in a view is the best design because of the delay each time. How can I load a library along with the others normally loaded by espo before the interface loads?
Comment