From cdcdc115b79f0773c2d140e43f58cfe9cb4b1cdb Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 17 Apr 2013 19:16:59 +0300 Subject: Build a minified version of vaadinPush.js in vaadin-push.jar (#11630) * Replaced jquery and jquery.atmosphere.js with original, unmodified versions * Added vaadinPush.js build target to ide.xml and push/build.xml * Uses yuicompressor to compress the resulting push javascript Change-Id: I59ba9c2bbf74e05d10325d38efdb106b638cd8e7 --- WebContent/VAADIN/vaadinPush.js.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 WebContent/VAADIN/vaadinPush.js.tpl (limited to 'WebContent/VAADIN/vaadinPush.js.tpl') diff --git a/WebContent/VAADIN/vaadinPush.js.tpl b/WebContent/VAADIN/vaadinPush.js.tpl new file mode 100644 index 0000000000..3928fba1b6 --- /dev/null +++ b/WebContent/VAADIN/vaadinPush.js.tpl @@ -0,0 +1,8 @@ +@jquery.js@ +window.jQueryVaadin = window.jQuery.noConflict(true); +(function(jQuery, undefined) { + @jquery.atmosphere.js@ +})(jQueryVaadin); +if (console) { + console.log("Vaadin push loaded"); +} \ No newline at end of file -- cgit v1.2.3