filearts / plunker_www

The public-facing website for http://plnkr.co
MIT License
289 stars 99 forks source link

Dependency order reversed for .js files #82

Open webOS101 opened 8 years ago

webOS101 commented 8 years ago

I was adding Enyo to Plnkr's library list and I ran into an interesting thing. I set up the main Enyo library (enyo) and one of the dependent libraries (I called it enyo-layout). When adding enyo-layout to a new project, it correctly orders the CSS files from the dependencies, but it reverses the order of the JavaScript files. It seems to me the order should be the same in both (with the core coming first).

    <link data-require="enyo@2.7.0" data-semver="2.7.0" rel="stylesheet" href="http://enyojs.com/enyo-2.7.0/lib/enyo/dist/enyo.css" />
    <link data-require="enyo-layout@2.7.0" data-semver="2.7.0" rel="stylesheet" href="http://enyojs.com/enyo-2.7.0/lib/layout/dist/layout.css" />
    <script data-require="enyo-layout@2.7.0" data-semver="2.7.0" src="http://enyojs.com/enyo-2.7.0/lib/layout/dist/layout.js"></script>
    <script data-require="enyo@2.7.0" data-semver="2.7.0" src="http://enyojs.com/enyo-2.7.0/lib/enyo/dist/enyo.js"></script>