From b48d4648ee228802cf32de0101d6b815e191d4b2 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Thu, 5 Jul 2012 15:10:02 +0300 Subject: Add test for JavaScript component fundamentals (#8888) --- WebContent/statictestfiles/jsconnector.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 WebContent/statictestfiles/jsconnector.js (limited to 'WebContent/statictestfiles') diff --git a/WebContent/statictestfiles/jsconnector.js b/WebContent/statictestfiles/jsconnector.js deleted file mode 100644 index a87df92bc8..0000000000 --- a/WebContent/statictestfiles/jsconnector.js +++ /dev/null @@ -1,13 +0,0 @@ -window.com_vaadin_tests_components_javascriptcomponent_BasicJavaScriptComponent_ExampleWidget = function() { - var connector = this; - - var rootElement = connector.getElement(); - rootElement.innerHTML = 'Hello world!'; - rootElement.onclick = function() { - connector.getRpcProxy().onClick("message"); - connector.onclick("another message"); - } - connector.onStateChange = function() { - console.log('state change:', this.getState()); - } -} \ No newline at end of file -- cgit v1.2.3