summaryrefslogtreecommitdiffstats
path: root/documentation/articles/IntegratingAJavaScriptComponent.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/articles/IntegratingAJavaScriptComponent.asciidoc')
-rw-r--r--documentation/articles/IntegratingAJavaScriptComponent.asciidoc4
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());