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-28 10:50:15 +0200 |
commit | af66c01f6e35a1da710c6bc91ce0b06703b3b906 (patch) | |
tree | a8da50919aaae717c466a134d3f6670f7cd5660f /documentation/clientsideapp | |
parent | e27042acf825ceb469656c54ee1f82eeca914c2c (diff) | |
download | vaadin-framework-af66c01f6e35a1da710c6bc91ce0b06703b3b906.tar.gz vaadin-framework-af66c01f6e35a1da710c6bc91ce0b06703b3b906.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 |