summaryrefslogtreecommitdiffstats
path: root/documentation/clientsideapp
diff options
context:
space:
mode:
authorAnastasia Smirnova <anasmi@utu.fi>2018-12-17 14:01:33 +0200
committerSun Zhe <31067185+ZheSun88@users.noreply.github.com>2018-12-17 14:01:33 +0200
commitfebddda0578c8185e0c4c0f613f250490e0503a2 (patch)
tree333aefdf833d365f35df1cd7300c3739b86f81a5 /documentation/clientsideapp
parentccb1c45a6a85e1fe6d0497d8b9bafc130a01ca92 (diff)
downloadvaadin-framework-febddda0578c8185e0c4c0f613f250490e0503a2.tar.gz
vaadin-framework-febddda0578c8185e0c4c0f613f250490e0503a2.zip
Add missing [source, java] to the java code blocks in documentation (#11381)
* Update clientsideapp-entrypoint.asciidoc Adding missing ```[source, java]```
Diffstat (limited to 'documentation/clientsideapp')
-rw-r--r--documentation/clientsideapp/clientsideapp-entrypoint.asciidoc4
-rw-r--r--documentation/clientsideapp/clientsideapp-loading.asciidoc2
-rw-r--r--documentation/clientsideapp/clientsideapp-overview.asciidoc2
3 files changed, 4 insertions, 4 deletions
diff --git a/documentation/clientsideapp/clientsideapp-entrypoint.asciidoc b/documentation/clientsideapp/clientsideapp-entrypoint.asciidoc
index f13303bde4..954922310b 100644
--- a/documentation/clientsideapp/clientsideapp-entrypoint.asciidoc
+++ b/documentation/clientsideapp/clientsideapp-entrypoint.asciidoc
@@ -12,7 +12,7 @@ starts, much like the [methodname]#init()# method in server-side Vaadin UIs.
Consider the following application:
-
+[source, java]
----
package com.example.myapp.client;
@@ -51,7 +51,7 @@ configuration, in a client-side module descriptor, described in
Module Descriptor">>. The descriptor is an XML file with suffix
[filename]#.gwt.xml#.
-
+[source, xml]
----
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC
diff --git a/documentation/clientsideapp/clientsideapp-loading.asciidoc b/documentation/clientsideapp/clientsideapp-loading.asciidoc
index 1ac6ddce1a..80ccfcfab2 100644
--- a/documentation/clientsideapp/clientsideapp-loading.asciidoc
+++ b/documentation/clientsideapp/clientsideapp-loading.asciidoc
@@ -11,7 +11,7 @@ You can load the JavaScript code of a client-side application in an HTML __host
page__ by including it with a [literal]#++<script>++# tag, for example as
follows:
-
+[source, html]
----
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
diff --git a/documentation/clientsideapp/clientsideapp-overview.asciidoc b/documentation/clientsideapp/clientsideapp-overview.asciidoc
index aa20571d8d..95f32b105e 100644
--- a/documentation/clientsideapp/clientsideapp-overview.asciidoc
+++ b/documentation/clientsideapp/clientsideapp-overview.asciidoc
@@ -30,7 +30,7 @@ the JavaScript of the compiled module is loaded in the browser.
Consider the following client-side application:
-
+[source, java]
----
public class HelloWorld implements EntryPoint {
@Override