diff options
author | Anastasia Smirnova <anasmi@utu.fi> | 2018-12-17 14:01:33 +0200 |
---|---|---|
committer | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-12-17 14:01:33 +0200 |
commit | febddda0578c8185e0c4c0f613f250490e0503a2 (patch) | |
tree | 333aefdf833d365f35df1cd7300c3739b86f81a5 /documentation/clientsideapp | |
parent | ccb1c45a6a85e1fe6d0497d8b9bafc130a01ca92 (diff) | |
download | vaadin-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')
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 |