aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/annotations/LoadScripts.java
blob: 84ac2d2fb79f1647a26c255630243a88f2f968a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* 
@VaadinApache2LicenseForJavaFiles@
 */
package com.vaadin.annotations;

import java.lang.annotation.ElementType;
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();

}