com.vaadin.client.Registry.getApplicationConfiguration()

Here are the examples of the java api com.vaadin.client.Registry.getApplicationConfiguration() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : SockJSPushConnection.java
with MIT License
from mcollovati

private String getVersionedPushJs() {
    String pushJs;
    if (registry.getApplicationConfiguration().isProductionMode()) {
        pushJs = "vaadinPushSockJS-min.js";
    } else {
        pushJs = "vaadinPushSockJS.js";
    }
    return ApplicationConstants.VAADIN_STATIC_FILES_PATH + "push/" + pushJs;
}