SeaUrchinBot / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

ui.gauge properties should not be all caps #69

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When using some ui.gauges, one can change some properties such as: 
goog.ui.Gauge.NEEDLE_MOVE_TIME and goog.ui.Gauge.FACTOR_NEEDLE_BACK.

When sending this code through the Closure Compiler, with advanced 
optimizations on, it will treat 
all caps variables as constants and throw an error if an additional assignment 
is made. The only 
solution (per http://code.google.com/closure/compiler/docs/error-ref.html) is 
to make at least 
one character lower case...

thanks!

Original issue reported on code.google.com by nik.vand...@gmail.com on 20 Nov 2009 at 8:47

GoogleCodeExporter commented 8 years ago

Original comment by pall...@google.com on 15 Jul 2011 at 1:22