From d60b2733cf3a232debaf44ed48ce2b1e8de71701 Mon Sep 17 00:00:00 2001 From: Flamenco Date: Sat, 30 Dec 2017 14:16:55 -0500 Subject: Fix wrong frontend URL in docs. (#10472) * Fix wrong frontend URL in docs. * Update HtmlImport.java --- server/src/main/java/com/vaadin/annotations/HtmlImport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') 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; * * 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: * @HtmlImport("frontend://paper-slider/paper-slider.html") 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 -- cgit v1.2.3