aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-09-24 19:43:06 +0300
committerLeif Åstrand <leif@vaadin.com>2015-09-24 19:51:09 +0300
commitccad63a4aa12a00016ac29c5b612f6f59edc379b (patch)
tree6c2c6545c539ffd2e4d04032d751d58e69d11ce9 /WebContent
parent5248d93782baf07e1c656d417bd367cd1be38208 (diff)
downloadvaadin-framework-ccad63a4aa12a00016ac29c5b612f6f59edc379b.tar.gz
vaadin-framework-ccad63a4aa12a00016ac29c5b612f6f59edc379b.zip
Hide global "define" from push scripts (#18999)
Change-Id: Iab7747ba8c4770a70e098ea88657ffea14387743
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/vaadinPush.js.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebContent/VAADIN/vaadinPush.js.tpl b/WebContent/VAADIN/vaadinPush.js.tpl
index 43dfd18b40..3b2fb788f9 100644
--- a/WebContent/VAADIN/vaadinPush.js.tpl
+++ b/WebContent/VAADIN/vaadinPush.js.tpl
@@ -1,3 +1,4 @@
+(function(define) {
@jquery.js@
window.jQueryVaadin = window.jQuery.noConflict(true);
(function(jQuery, undefined) {
@@ -6,3 +7,4 @@ window.jQueryVaadin = window.jQuery.noConflict(true);
if (window.console) {
window.console.log("Vaadin push loaded");
}
+})();