Skip to content

Ordering of js_files not preserved #17

shiftdirector opened this Issue May 9, 2013 · 1 comment

2 participants


When passing an array of files to the js_file parameter of views JasminView or QUnitView, the ordering is changed by StorageGlobber.glob(). Example below.

ps. Django.js is awesome, big thank you.

In [2]: from djangojs.utils import StorageGlobber
In [3]: js_files=[
...: 'js/libs/underscore/underscore-min.js',
...: 'js/libs/backbone/backbone-min.js',
...: 'js/backbone.models.js',
...: 'js/tests/*.tests.js',
...: ]

In [4]: StorageGlobber.glob(js_files)


Thanks for the reports (and for the compliment).

If you don't mind, I have some other features and fixes to integrate before performing a release but I release it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.