Change the order of head elements?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Change the order of head elements?

John Thornborrow
Hello All,

I'm using a JS script library (prototip.js) in conjunction with
Prototype. This library uses Class.create() which is defined within
#prototypeJs, on SULibrary. However, because the file library I am using
is FVFiles, it is including the selector #prototipJs before #prototypeJs
is included, resulting in a javascript error ("Class is not defined",)
and the lovely prototip's not working.

Is there a way to specify the order in which selectors from multiple
libraries are included?

Renaming my file library to be named with T or later is not an ideal
option :)

Many thanks,
John

www.pinesoft.co.uk


Pinesoft Computers are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA



This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Change the order of head elements?

Lukas Renggli
> Is there a way to specify the order in which selectors from multiple
> libraries are included?

The libraries are included in the order they are added to the
configuration. Remove both of your libraries then add (1) SULibrary
and then (2) FVFiles. I guess that should solve your problem.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside