I'm having a problem in my GWT app, in which I use another script that itself uses the underscore.js
library. This script defines the global variable var _;
.
The issue is that the GWT generated code also defines var _
for app-specific purposes; this clashes with the _
that's defined in the other script.
I also don't know what other global variables GWT may be defining that other scripts may unwittingly interfere with.
(Edit: it seems from this question that _
is the only symbol it uses).
Is there any way to put GWT's generated variables into a separate global variable of my choosing?