summaryrefslogtreecommitdiffstats
path: root/push/src/main/templates/vaadinPush.js.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'push/src/main/templates/vaadinPush.js.tpl')
-rw-r--r--push/src/main/templates/vaadinPush.js.tpl9
1 files changed, 3 insertions, 6 deletions
diff --git a/push/src/main/templates/vaadinPush.js.tpl b/push/src/main/templates/vaadinPush.js.tpl
index 3b2fb788f9..2ebc186600 100644
--- a/push/src/main/templates/vaadinPush.js.tpl
+++ b/push/src/main/templates/vaadinPush.js.tpl
@@ -1,10 +1,7 @@
+window.vaadinPush = window.vaadinPush|| {};
(function(define) {
-@jquery.js@
-window.jQueryVaadin = window.jQuery.noConflict(true);
-(function(jQuery, undefined) {
- @jquery.atmosphere.js@
-})(jQueryVaadin);
+@atmosphere.js@
if (window.console) {
window.console.log("Vaadin push loaded");
}
-})();
+}).call(window.vaadinPush);