aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/annotations/JavaScript.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/annotations/JavaScript.java')
-rw-r--r--server/src/com/vaadin/annotations/JavaScript.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/src/com/vaadin/annotations/JavaScript.java b/server/src/com/vaadin/annotations/JavaScript.java
index bdba70c095..3e9c46083d 100644
--- a/server/src/com/vaadin/annotations/JavaScript.java
+++ b/server/src/com/vaadin/annotations/JavaScript.java
@@ -44,10 +44,11 @@ import com.vaadin.server.ClientConnector;
* file was loaded from a different folder.
* </ul>
* <p>
- * Example: {@code @JavaScript( "http://host.com/file1.js", "file2.js"})} on the
- * class com.example.MyConnector would load the file http://host.com/file1.js as
- * is and file2.js from /com/example/file2.js on the server's classpath using
- * the ClassLoader that was used to load com.example.MyConnector.
+ * Example: <code>@JavaScript({"http://host.com/file1.js", "file2.js"})</code>
+ * on the class com.example.MyConnector would load the file
+ * http://host.com/file1.js as is and file2.js from /com/example/file2.js on the
+ * server's classpath using the ClassLoader that was used to load
+ * com.example.MyConnector.
*
* @author Vaadin Ltd
* @since 7.0.0