Gmail 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:
Followup To:
Add Cc | Add Followup-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 you hear
 
emmexx  
View profile  
 More options Nov 9, 4:40 am
From: emmexx <emmeics...@gmail.com>
Date: Sun, 8 Nov 2009 09:40:25 -0800 (PST)
Local: Mon, Nov 9 2009 4:40 am
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  
 More options Nov 9, 10:47 am
From: robustsolution <i...@robustsolution.net>
Date: Sun, 8 Nov 2009 15:47:47 -0800 (PST)
Local: Mon, Nov 9 2009 10:47 am
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