diff options
Diffstat (limited to 'WebContent/statictestfiles/jsextension.js')
-rw-r--r-- | WebContent/statictestfiles/jsextension.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/WebContent/statictestfiles/jsextension.js b/WebContent/statictestfiles/jsextension.js deleted file mode 100644 index 1a46300e45..0000000000 --- a/WebContent/statictestfiles/jsextension.js +++ /dev/null @@ -1,24 +0,0 @@ -window.com_vaadin_tests_extensions_SimpleJavaScriptExtensionTest_SimpleJavascriptExtension = function() { - var self = this; - var state = this.getState(); - - //var rpc = this.getRpcProxy("com.vaadin.tests.extensions.SimpleJavaScriptExtensionTest.SimpleJavaScriptExtensionServerRpc"); - var rpc = this.getRpcProxy(); - -// this.registerRpc("com.vaadin.tests.extensions.SimpleJavaScriptExtensionTest.SimpleJavaScriptExtensionClientRpc", { - this.registerRpc({ - 'greet': function(greeting) { - var response = window.prompt(state.prefix + greeting); - if (response !== null) { - rpc.greet(response); - } - } - }); - - this.greetToClient = function(greeting) { - var response = window.prompt(state.prefix + greeting); - if (response !== null) { - self.greetToServer(response); - } - } -}
\ No newline at end of file |