From: Leif Åstrand Date: Mon, 18 Jun 2012 11:01:29 +0000 (+0300) Subject: Deprecate @LoadScripts to signal that it's a temporary hack (#8888) X-Git-Tag: 7.0.0.alpha3~113^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6750c529283be82e4f868ca6f389927e577189cf;p=vaadin-framework.git Deprecate @LoadScripts to signal that it's a temporary hack (#8888) --- diff --git a/src/com/vaadin/annotations/LoadScripts.java b/src/com/vaadin/annotations/LoadScripts.java index f2b72407f7..84ac2d2fb7 100644 --- a/src/com/vaadin/annotations/LoadScripts.java +++ b/src/com/vaadin/annotations/LoadScripts.java @@ -8,8 +8,16 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +/** + * Temporary hack used for ensuring external javascript libraries are included. + * To add a javascript, add this annotation to your Root class. + * + * @deprecated Will be removed in favor of a more robust solution before version + * 7.0.0 + */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) +@Deprecated public @interface LoadScripts { public String[] value();