diff options
author | Erik Lumme <erik@vaadin.com> | 2017-09-12 11:02:55 +0300 |
---|---|---|
committer | Erik Lumme <erik@vaadin.com> | 2017-09-12 11:02:55 +0300 |
commit | fef2f262e02b02b23a9aed077dff389231ce25d8 (patch) | |
tree | a36846ce9e86f64bea65dd3b2c44fc448ee8d8d8 /documentation/articles/IntegratingAJavaScriptComponent.asciidoc | |
parent | 0a170337e580387566fee1af46c9537cdc8d62db (diff) | |
download | vaadin-framework-fef2f262e02b02b23a9aed077dff389231ce25d8.tar.gz vaadin-framework-fef2f262e02b02b23a9aed077dff389231ce25d8.zip |
Change code annotation to JavaScript
Diffstat (limited to 'documentation/articles/IntegratingAJavaScriptComponent.asciidoc')
-rw-r--r-- | documentation/articles/IntegratingAJavaScriptComponent.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/articles/IntegratingAJavaScriptComponent.asciidoc b/documentation/articles/IntegratingAJavaScriptComponent.asciidoc index 7762f14e04..88cb679cc7 100644 --- a/documentation/articles/IntegratingAJavaScriptComponent.asciidoc +++ b/documentation/articles/IntegratingAJavaScriptComponent.asciidoc @@ -48,7 +48,7 @@ state of a normal GWT component. [source,java] .... public class FlotState extends JavaScriptComponentState { - public List<List<List<Double>>> series = new ArrayList<List<List<Double>>>(); + public List<List<List<Double>>> series = new ArrayList<List<List<Double>>>(); } .... @@ -82,7 +82,7 @@ conversion between server-side Java values and client-side JavaScript values. `double[][][]` in Java would give the same JavaScript structure, but it was not used here as it gives less flexibility in the Java code. -[source,java] +[source,javascript] .... window.com_example_Flot = function() { var element = $(this.getElement()); |