bdkjones / CodeKit-1-Old

147 stars 1 forks source link

First JS import from in-file statement is ignored #679

Open zizther opened 10 years ago

zizther commented 10 years ago

I have found when I use the in-file statements for importing JS files the first call is always ignored by Codekit. It doesn't import it or reference it in the sidebar of Codekit. The solution i have for the time being is to place a comma in front of any JS to import to make it ignore an empty call.

Here is an example of what and what doesn't work.

This doesn't work - the plugin.js file is not imported.

@codekit-prepend "../js/plugin.js, ../js/main.js"

This does work

@codekit-prepend ", ../js/plugin.js, ../js/main.js"