Block Javascript Automatically Included
Permalink
I'm new to C5 and working on block development. For some reason, any javascript file in my block's 'js' directory is automatically included. Is this normal?
Yes it is. You'll see the same behaviour in themes too - and it also works for css. Anything in the blocks /css directory will also be included.
I don't think this is the case for themes (at least I hope not, otherwise I've been building all my themes wrong!) -- only blocks.