My index.html looks like:
My ExtJS application depends on external-lib.js,
so I hope external-lib.js could be at the beginning of all-classes.js.
However, the order of JS files is reversed. The file external-lib.js is at end of all-classes.js.
How could I fix it?
Code:
<!-- <x-compile> -->
<!-- <x-bootstrap> -->
<script src="ext/ext-all-debug.js"></script>
<script src="bootstrap.js"></script>
<!-- </x-bootstrap> -->
<script src="js/external-lib.js"></script>
<script src="app/app.js"></script>
<!-- </x-compile> -->
My ExtJS application depends on external-lib.js,
so I hope external-lib.js could be at the beginning of all-classes.js.
However, the order of JS files is reversed. The file external-lib.js is at end of all-classes.js.
How could I fix it?
PS: I'm using Sencha Cmd v4.0.0.203 & ExtJS 4.1.1a.
Aucun commentaire:
Enregistrer un commentaire