How to include the images that are referred from inside a third party css?
-
So now all of the loaded files show the correct code?
-
Hi @PitaJ
The code for these files is minified and we can assume that it must be the correct code.
Secondly, I can see the code for all these files except the jquery.js. For jquery, it reports "Nothing to preview". Does this mean that the browser is unable to read the global jquery code that is fed by the NodeBB itself?
Finally, how can we ensure that the order of loading of these code files is what we dictated?
Thank you.
-
If you're getting an empty file for
jquery.js
then that means requirejs is trying to load it, instead of using the jquery already in the site.Try changing it to
jquery: { exports: 'jQuery' }
Instead. Also, make sure that the config code runs before you require anything.
-
@cool do you have the full code available somewhere? If you have a private repo on GitHub or something I could try getting it to work locally. Otherwise you could upload it to Dropbox or the like and send my a pm with the link
-
I'll look into it later today probably. Been working on other things lately.
-
@cool glad you discovered the issue. Sorry I couldn't be of more help, I got very busy.