summaryrefslogtreecommitdiffstats
path: root/WebContent/statictestfiles
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-07-05 15:10:02 +0300
committerLeif Åstrand <leif@vaadin.com>2012-07-05 15:10:02 +0300
commitb48d4648ee228802cf32de0101d6b815e191d4b2 (patch)
treeccb3cef718319f39d04258e98abe4fbe7e8e7ba7 /WebContent/statictestfiles
parent04d043f95fbdeb698a3c0c39334e76b367afa749 (diff)
downloadvaadin-framework-b48d4648ee228802cf32de0101d6b815e191d4b2.tar.gz
vaadin-framework-b48d4648ee228802cf32de0101d6b815e191d4b2.zip
Add test for JavaScript component fundamentals (#8888)
Diffstat (limited to 'WebContent/statictestfiles')
-rw-r--r--WebContent/statictestfiles/jsconnector.js13
1 files changed, 0 insertions, 13 deletions
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