diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-04-18 16:05:40 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-19 11:54:37 +0000 |
commit | c44f8380b2f83920676fe993a240976d52437adf (patch) | |
tree | 00dc60d274985de8ae7b0c37253e75a8d30e3fa8 /shared | |
parent | 0cbba9d6f4a65c04ca0e396c440de0c1c25945ec (diff) | |
download | vaadin-framework-c44f8380b2f83920676fe993a240976d52437adf.tar.gz vaadin-framework-c44f8380b2f83920676fe993a240976d52437adf.zip |
Load vaadinPush.js on demand (#11506)
For optimal performance, the script will still be included in the host
HTML if push is enabled when the UI is bootstrapped.
Change-Id: I2245b45434f3097c32fd3580267f692dce3b7649
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ApplicationConstants.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ApplicationConstants.java b/shared/src/com/vaadin/shared/ApplicationConstants.java index 5f23a3dc38..6b0c8e7244 100644 --- a/shared/src/com/vaadin/shared/ApplicationConstants.java +++ b/shared/src/com/vaadin/shared/ApplicationConstants.java @@ -72,4 +72,10 @@ public class ApplicationConstants implements Serializable { * </p> */ public static final String VAADIN_DIR_URL = "vaadinDir"; + + /** + * The name of the javascript containing push support. The file is located + * in the VAADIN directory. + */ + public static final String VAADIN_PUSH_JS = "vaadinPush.js"; } |