Only if we need the Code Mirror on DOM load. So if, in the future, we load
a file into an editor on page load, say via a #open=Foxtrot.coffee in the
request, it would matter. And code mirror should be loaded before the main
page.

I wanted to separate out the Code Mirror scripts from the client.js so that
the page could run scripts before all script srces were downloaded, but
that proved a lot more work than I thought it would be.
On Feb 24, 2014 7:01 AM, "silverwind" <notifications@github.com> wrote:

> In droppy.js:
>
> >          resources = {
> > -            css  : ["src/style.css", "src/sprites.css"],
> > -            js   : ["node_modules/jquery/dist/jquery.js", "src/client.js"],
> > +            css  : [cmPath + "lib/codemirror.css", "src/style.css", "src/sprites.css"],
> > +            js   : ["node_modules/jquery/dist/jquery.js", "src/client.js", cmPath + "lib/codemirror.js"],
>
> Wouldn't it be wiser to load our script last?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/silverwind/droppy/pull/46/files#r9989773>
> .
>