aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/annotations/LoadScripts.java
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-06-19 11:24:20 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-06-19 11:24:20 +0300
commit0d06d0f434ac8c616fb08a16de5c8fa53cc03954 (patch)
tree3fa197445ed79a86642a022d54950d8e0eedbbaf /src/com/vaadin/annotations/LoadScripts.java
parent37a934c2f0c0a8edb7c580ff3a5b351778256368 (diff)
parent6750c529283be82e4f868ca6f389927e577189cf (diff)
downloadvaadin-framework-0d06d0f434ac8c616fb08a16de5c8fa53cc03954.tar.gz
vaadin-framework-0d06d0f434ac8c616fb08a16de5c8fa53cc03954.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/com/vaadin/annotations/LoadScripts.java')
-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();