Open fehmicansaglam opened 12 years ago
FYI if I define the dependency as (by adding "js" to "Application/index") js.Application/index.js=dataTables.dateEuro,chosen.jquery.min,jquery-ui-timepicker-tr,json2,jsonformat dependencies are loaded correctly. (again without explicitly including Application/index.js)
I have a base template: views/main.html and I output all the javascript files with the following command:
{greenscript.js output: 'all' /}
I also have an index.html: views/Application/index.html There is nothing special in it.
And I have an index.js: public/javascripts/Application/index.js Although I do not import it, greenscript automagically includes it in the output as below.
Actually that may be smth I would want but unfortunately the dependencies are ignored. The dependencies are: js.Application/index=dataTables.dateEuro,chosen.jquery.min,jquery-ui-timepicker-addon,jquery-ui-timepicker-tr
But if I include it manually in index.html:
{greenscript.js 'Application/index' /}
dependencies are included, everything is fine except that there are 2 imports for index.js in the output.
Am I doing smth wrong?