diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-06-18 14:01:29 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-06-18 14:01:29 +0300 |
commit | 6750c529283be82e4f868ca6f389927e577189cf (patch) | |
tree | f35c206248125c6f3763c6f9b6f85c0f2e768af1 /src/com/vaadin | |
parent | c93d485613bc17032653f6b938bf43eae4e801dc (diff) | |
download | vaadin-framework-6750c529283be82e4f868ca6f389927e577189cf.tar.gz vaadin-framework-6750c529283be82e4f868ca6f389927e577189cf.zip |
Deprecate @LoadScripts to signal that it's a temporary hack (#8888)
Diffstat (limited to 'src/com/vaadin')
-rw-r--r-- | src/com/vaadin/annotations/LoadScripts.java | 8 |
1 files changed, 8 insertions, 0 deletions
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(); |