JavaScript How can I set the language_in option for the Closure compiler?

I need to set the language_in option on the Closure compiler to prevent the IE8 parse error:

ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.

I did find a post in the closure group relating to this, however, the option is set directly on the java compiler, rather than through one of the build scripts. I need to be able to set it on a build script.

I'm looking at the scripts in closure/bin/build/ and there are several there. I tried adding the option to closure builder, but it failed.

Can someone direct me about how to set this option correctly?

Thank you.

Answer:1

I'm looking to implement a warning if the user attempts to leave the order process before it's completed in any fashion other then of course following the payment button. Something like this: <...

I'm looking to implement a warning if the user attempts to leave the order process before it's completed in any fashion other then of course following the payment button. Something like this: <...

I have a leaflet.js map that has points and linestrings on it that come from an external JSON file. If I add: map.setView(new L.LatLng(0,0), 10); It will centre the map on the latitude and ...

I have a leaflet.js map that has points and linestrings on it that come from an external JSON file. If I add: map.setView(new L.LatLng(0,0), 10); It will centre the map on the latitude and ...

I have to create an interface similar to what http://www.madeiracloud.com provides for drawing a network architecture (for different purposes than what they are doing). Basically users should be able ...

I have to create an interface similar to what http://www.madeiracloud.com provides for drawing a network architecture (for different purposes than what they are doing). Basically users should be able ...

I'm having somewhat of an odd issue with trying to piece together a somewhat dynamic Google Maps display. I have overlays on a map that I would like to call a function when clicked. Initially I had ...

I'm having somewhat of an odd issue with trying to piece together a somewhat dynamic Google Maps display. I have overlays on a map that I would like to call a function when clicked. Initially I had ...