Cesium Api - Google Closure Compiler

Hi guys

I want to compile my Cesium javascript application with Google Closure Compiler with ADVANDCED_OPTIMIZATIONS flag

How to prevent google closure compiler renaming Cesium Api function calls like

Cesium.Cartesian3.fromDegrees

and constants like

Cesium.Color.ORANGE (-> please explain more detailed on how to compile constants)

Thank you

Hi,

I want to compile my Cesium javascript application with Google Closure Compiler with ADVANDCED_OPTIMIZATIONS flag
How to prevent google closure compiler renaming Cesium Api function calls like

We maintain an extern file in the ol3-cesium project.
https://github.com/openlayers/ol3-cesium/blob/master/Cesium.externs.js

Feel free to use it and contribute improvements.

BR,