RequireJS problem

urbido

Member
Hi! I have a problem with my visualization plugin (but it occurs also somewhere else). When I load my plugin (map) inside page, its okay, but when I load it inside contentplugin (blank page with map) there is error when loading Fabrik.js, slimbox2.js,.... Requirejs is written like this "requirejs(['fab/fabrik'], function () {...", but actual fabrik.js file is in "media/com_fabrik/js/fabrik.js", not "fab/fabrik.js". Usualy it works fine and fabrik.js is loaded from where it is supposed to, but sometimes requirejs looks into non-existing folder "fab" and then I get lots of errors. What can be the problem?
Thanks a lot
Stepan
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top