rt/core/src/main/java/org/apidesign/bck2brwsr/core/ExtraJavaScript.java
changeset 793 033ea09379a0
parent 772 d382dacfd73f
child 1787 ea12a3bb4b33
     1.1 --- a/rt/core/src/main/java/org/apidesign/bck2brwsr/core/ExtraJavaScript.java	Tue Feb 26 16:54:16 2013 +0100
     1.2 +++ b/rt/core/src/main/java/org/apidesign/bck2brwsr/core/ExtraJavaScript.java	Thu Feb 28 20:51:53 2013 +0100
     1.3 @@ -22,14 +22,16 @@
     1.4  import java.lang.annotation.RetentionPolicy;
     1.5  import java.lang.annotation.Target;
     1.6  
     1.7 -/**
     1.8 +/** A way to include pre-made JavaScript scripts and libraries.
     1.9 + * The {@link #resource()} is loaded into the JavaScript VM and its object
    1.10 + * can be referenced from the class annotated by this annotation.
    1.11   *
    1.12   * @author Jaroslav Tulach <jtulach@netbeans.org>
    1.13   */
    1.14  @Retention(RetentionPolicy.CLASS)
    1.15  @Target(ElementType.TYPE)
    1.16  public @interface ExtraJavaScript {
    1.17 -    /** location of a script to load */
    1.18 +    /** fully qualified location of a script to load. Start the path with slash. */
    1.19      String resource();
    1.20      /** should the class file still be processed or not? */
    1.21      boolean processByteCode() default true;