summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlamenco <Flamenco@users.noreply.github.com>2017-12-30 14:16:55 -0500
committerArtur <artur@vaadin.com>2017-12-30 21:16:55 +0200
commitd60b2733cf3a232debaf44ed48ce2b1e8de71701 (patch)
tree4194ee92539a4f607b6b426629497e34a5eff23c
parent3678772ed231acc74345890c22501098960e0d63 (diff)
downloadvaadin-framework-d60b2733cf3a232debaf44ed48ce2b1e8de71701.tar.gz
vaadin-framework-d60b2733cf3a232debaf44ed48ce2b1e8de71701.zip
Fix wrong frontend URL in docs. (#10472)
* Fix wrong frontend URL in docs. * Update HtmlImport.java
-rw-r--r--server/src/main/java/com/vaadin/annotations/HtmlImport.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/annotations/HtmlImport.java b/server/src/main/java/com/vaadin/annotations/HtmlImport.java
index dd20558737..0c3bdf02ee 100644
--- a/server/src/main/java/com/vaadin/annotations/HtmlImport.java
+++ b/server/src/main/java/com/vaadin/annotations/HtmlImport.java
@@ -42,7 +42,7 @@ import com.vaadin.server.ClientConnector;
* </ul>
* Note that you should (almost) always use URLs starting with
* {@literal frontend://} so that the framework can resolve the files to either
- * {@literal VAADIN/es5} or {@literal VAADIN/es6} depending on if the browser
+ * {@literal VAADIN/frontend/es5} or {@literal VAADIN/frontend/es6} depending on if the browser
* supports ES6 classes (most browers) or not (IE11 and Safari <= 9). Polymer
* elements rely on importing dependencies using relative paths
* {@literal ../../other-element/other-element.html}, which will not work if
@@ -54,7 +54,7 @@ import com.vaadin.server.ClientConnector;
* Example:
* <code>@HtmlImport("frontend://paper-slider/paper-slider.html")</code> on the
* class com.example.MyConnector would load the file
- * {@literal http://host.com/VAADIN/es[56]/paper-slider/paper-slider.html}
+ * {@literal http://host.com/VAADIN/frontend/es[56]/paper-slider/paper-slider.html}
* before the {@code init()} method of the client side connector is invoked.
*
* @author Vaadin Ltd