Is there a way to pass the id=someScript and param1=value1 to ScriptInjector in GWT? For example, consider the following JS code:
<script src="https://blah.com/someScript.js" id="someScript" param1="value1"></script>
In GWT, you can load it like this:
ScriptInjector.fromUrl("https://blah.com/someScript.js").setCallback(new Callback<Void, Exception>() {
public void onSuccess(Void result) {
}
public void onFailure(Exception reason) {
}
}).inject();
But how can you specify the id="someScript" and param1="value1" parameters?