summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-06-18 14:01:29 +0300
committerLeif Åstrand <leif@vaadin.com>2012-06-18 14:01:29 +0300
commit6750c529283be82e4f868ca6f389927e577189cf (patch)
treef35c206248125c6f3763c6f9b6f85c0f2e768af1 /src/com/vaadin
parentc93d485613bc17032653f6b938bf43eae4e801dc (diff)
downloadvaadin-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.java8
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();