]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix wrong frontend URL in docs. (#10472)
authorFlamenco <Flamenco@users.noreply.github.com>
Sat, 30 Dec 2017 19:16:55 +0000 (14:16 -0500)
committerArtur <artur@vaadin.com>
Sat, 30 Dec 2017 19:16:55 +0000 (21:16 +0200)
* Fix wrong frontend URL in docs.

* Update HtmlImport.java

server/src/main/java/com/vaadin/annotations/HtmlImport.java

index dd2055873795c54e9566325f7648cc6936f20818..0c3bdf02ee7d3c08c02ee3f684fdc3dbc7dffd02 100644 (file)
@@ -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