algesten/fnug — Issue #38: bundles.js should be allowed to contain JavaScript
Author: chilmers
Created: 2011-10-10 22:20:03+00:00
State: open

IDE's with JavaScript validation on .js files complain on bundles.js since it holds only JSON and not valid JavaScript.
For example bunldes.js would generate errors in an Eclipse project with the JavaScript facet activated.

It should be possible to provide a valid JavaScript file such as:

var bundles = {
myBundle: {
...
},
...
}

or

(function() (
{
mybundle: ...
}
));