gmarty/grunt-closure-compiler — pull request #5 by manastungare (2012-07-06 21:01:18+00:00)
Title: Fix bug with missing externs causing the task to break.

If there are no externs specified via options, the task breaks.
The generated command should not look like this:

$ java -jar /path/to/closure-compiler/build/compiler.jar --js file1.js --js file2.js --externs

This change skips adding the --externs flag if no externs have been specified.