{"issue":{"created_at":"2011-11-24T05:42:51Z","state":"open","updated_at":"2011-11-24T12:18:43Z","comments":1,"user":{"gravatar_id":"8aabd42774329cf97aa6da22bd35e640","id":706148,"url":"https://api.github.com/users/jtrain","login":"jtrain","avatar_url":"https://secure.gravatar.com/avatar/8aabd42774329cf97aa6da22bd35e640?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Previously only precompiled files (those with a mimetype in the COMPRESS_PRECOMPILERS setting) were rendered when\r\nCOMPRESS_ENABLED == False.\r\n\r\n{% compress js %}\r\n&lt;script src=\"/media/site.js\"&gt;&lt;/script&gt;\r\n&lt;script type=\"text/coffeescript\" src=\"/media/site.coffee\"&gt;&lt;/script&gt;\r\n{% endcompress %}\r\n\r\nwith COMPRESS_ENABLED == False became ->\r\n\r\n&lt;script type=\"text/javascript\" src=\"/media/cache/js/2030303sj.js\"&gt;&lt;/script&gt;\r\n\r\nWhere the created precompiled javscript file was missing the site.js contents.\r\n\r\nattached with test cases and documentation update.","assignee":null,"labels":[],"id":2337621,"pull_request":{"patch_url":"https://github.com/jezdez/django_compressor/pull/163.patch","html_url":"https://github.com/jezdez/django_compressor/pull/163","diff_url":"https://github.com/jezdez/django_compressor/pull/163.diff"},"number":163,"title":"render standard and precompiled files when COMPRESS_ENABLED == False","closed_at":null,"html_url":"https://github.com/jezdez/django_compressor/issues/163","milestone":null,"url":"https://api.github.com/repos/jezdez/django_compressor/issues/163"},"action":"created","comment":{"created_at":"2011-11-24T12:18:43Z","updated_at":"2011-11-24T12:18:43Z","user":{"gravatar_id":"8aabd42774329cf97aa6da22bd35e640","id":706148,"url":"https://api.github.com/users/jtrain","login":"jtrain","avatar_url":"https://secure.gravatar.com/avatar/8aabd42774329cf97aa6da22bd35e640?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"The rendered precompiled files (e.g. those of mimetype text/coffeescript and processed by COMPRESS_PRECOMPILE setting) are out of order with respect to their ordering in the original html file. \r\n\r\nGiven a mixture of javascript and coffeescript, the javascript output will always be appended to the coffeescript.\r\n\r\nan example:\r\n\r\n&lt;script type=\"text/javascript\" src=\"/media/jquery.js\"&gt;&lt;/script&gt;\r\n&lt;script type=\"text/coffeescript\" src=\"/media/buttons.coffee\"&gt;&lt;/script&gt;\r\n&lt;script type=\"text/javascript\" src=\"/media/site.js\"&gt;&lt;/script&gt;\r\n\r\nwill render as\r\n\r\n&lt;script type=\"text/javascript\" src=\"/media/ab2w0230.js\"&gt;&lt;/script&gt;\r\n&lt;script type=\"text/javascript\" src=\"/media/jquery.js\"&gt;&lt;/script&gt;\r\n&lt;script type=\"text/javascript\" src=\"/media/site.js\"&gt;&lt;/script&gt;\r\n\r\nOr if COMPRESS_ENABLED == True, then all files will be concatenated into one output javascript though still in the same order presented here.\r\n","id":2862489,"url":"https://api.github.com/repos/jezdez/django_compressor/issues/comments/2862489"}}