Prepros has useful feature:
//@prepros-prepend filename.js
which includes js file at the beginning of current one, but I need to include files inside jquery document.ready statement, which would look like so:
$(function(){
//@prepros-include code1.js
//@prepros-include code2.js
//@prepros-include code3.js
//@prepros-include code3.js
...
});
Is that somehow possible, or have you any other solution how to concatenate a lot of js-fragments which would be bound inside jquery $(function(){...});
wrapper?
[edit] Ps. I don't want to write $(function(){...});
inside of each partial-file.