Quick Nav:  Online Store   |   Login | Register

Missing JS file

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
caroig
<50 Posts
Posts:31


04/10/2008 7:16 AM  

In one my skins I need to load jQuery in the head section and I've been using the injector as described  in the snapsis blog. 

Now that I have installed pageblaster (latest full), there is no sign of the jquery library in the rendered page - I'm not quite sure what's going on.

I guess I can use pB as the injector now, but how do I ensure that my jQuery library is loaded first.

Thanks

John Mitchell
Posts:2779


04/10/2008 4:20 PM  
If a JS link is in the head, then it's file contents will be merged together with the rest of the JS files in the head.
I think that jQuery has a problem with the optimizations, so you may want to just exclude it from being merged.
Put this excludePath in your Snapsis.PageBlaster.config.

path pattern="jQuery" excludeFrom="MergeJS"
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software