From fef2f262e02b02b23a9aed077dff389231ce25d8 Mon Sep 17 00:00:00 2001 From: Erik Lumme Date: Tue, 12 Sep 2017 11:02:55 +0300 Subject: Change code annotation to JavaScript --- documentation/articles/IntegratingAJavaScriptComponent.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'documentation/articles/IntegratingAJavaScriptComponent.asciidoc') 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>> series = new ArrayList>>(); + public List>> series = new ArrayList>>(); } .... @@ -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()); -- cgit v1.2.3