Ensure that CoffeeScript is run in consistent order in the browser #1058

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Collaborator

TrevorBurnham commented Jan 18, 2011

See issue 1054 for a description of the problem. This patch ensures that CoffeeScript runs in the order in which the <script type="text/coffeescript"> tags occur.

It does not attempt to do anything with respect to the order of mixed JavaScript and CoffeeScript; generally, all JavaScript will run before any CoffeeScript runs. It would be ideal to be able to mix JavaScript and CoffeeScript in any order, but to my knowledge, there's no way to use one script to prevent a later <script type="text/javascript"> tag from being evaluated.

jashkenas was assigned Apr 21, 2011

Owner

jashkenas commented Apr 23, 2011

This should be fixed on master, as a duplicate of #1277.

jashkenas closed this Apr 23, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment