Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
javascript files loading order
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
emmexx  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 17:40
From: emmexx <emmeics...@gmail.com>
Date: Sun, 8 Nov 2009 09:40:25 -0800 (PST)
Local: Sun 8 Nov 2009 17:40
Subject: javascript files loading order
I use many javascript files in one application.
Some file is "linked" in the layout view, other are linked in a model
view.
Some of those files depend on the other (e.g.: file foo.js depends on
prototype).

The html file created by cake contains the script tags ordered in the
wrong way (1st foo.js, 2nd prototype) so I get some javascript errors.

Is there a way to force the loading order of javascript files?

thank you
     maxx


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
robustsolution  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 23:47
From: robustsolution <i...@robustsolution.net>
Date: Sun, 8 Nov 2009 15:47:47 -0800 (PST)
Local: Sun 8 Nov 2009 23:47
Subject: Re: javascript files loading order
you can work on the layout variable $scripts_for_layout it contains
the css files and the js files

On Nov 8, 5:40 pm, emmexx <emmeics...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google