O'Reilly logo

GWT in Action, Second Edition by Adam Tacy, Robert Hanson, Jason Essington, and Anne Tökke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

18.4. Configuration properties

You saw in chapter 17 that deferred-binding properties have a set of values that are enumerable (for example, a set of browser agents or a set of locales), which can drive the generation of permutations of JavaScript code.

What if you want to turn on or off some generator functionality during compile, much like the inlining of client bundles discussed previously? If you use a deferred-binding property, then you’ll double the number of permutations created—one set of permutations when the property is off and one for when it’s on. This probably isn’t what you wanted. Or what if you need to pass the generator a particular filename not included as an annotation? That’s not possible using deferred-binding properties. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required