]> source.dussan.org Git - vaadin-framework.git/commitdiff
Deprecate @LoadScripts to signal that it's a temporary hack (#8888)
authorLeif Åstrand <leif@vaadin.com>
Mon, 18 Jun 2012 11:01:29 +0000 (14:01 +0300)
committerLeif Åstrand <leif@vaadin.com>
Mon, 18 Jun 2012 11:01:29 +0000 (14:01 +0300)
src/com/vaadin/annotations/LoadScripts.java

index f2b72407f701ec805e2c5f494f59c82073912bec..84ac2d2fb79f1647a26c255630243a88f2f968a2 100644 (file)
@@ -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();