Human, Dustcake, Engineer
Doing my best to make the world a little better every day.
❤️ J9
news.ycombinator.com/user?id=lindner
@exk4ji+mpb4mdiCG5KVHxIMCo0as4k4/cIwRoxt3Aw4=.ed25519
www.openhub.net/accounts/plindner
dl.acm.org/profile/99659334862
#closure boilerplate reduction:
@107106902560384103150 submitted http://
this.getRequiredElementByClass('classname')
Also goog.ui.Component has a domhelper. You can get rid of your local domHelper_ vars in most cases and use this.getDomHelper() (and other dom helpers in goog.ui.Component) instead..
#googplus
Compiler experts:
The JS style guide mentions that UPPER_CASE implies @const-- however when I try compiling this code using
/** @type{number}
*@const*/
var FOO = 1;
FOO = 2;
it fails, but
/**@type{number} */
var FOO = 1;
FOO = 2;
succeeds
Oddly enough this succeeds as well, which I would expect to work..
/**@type{number}@const*/
var FOO = 1;
FOO = 2;
Any ideas? These tests were done with http://
http://
#googplus