core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptPrototype.java
branchide
changeset 721 1ee4ec90710e
parent 239 8ceee38f5840
     1.1 --- a/core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptPrototype.java	Sun Dec 02 21:00:12 2012 +0100
     1.2 +++ b/core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptPrototype.java	Wed Feb 13 16:14:07 2013 +0100
     1.3 @@ -29,10 +29,13 @@
     1.4  @Target({ ElementType.TYPE })
     1.5  public @interface JavaScriptPrototype {
     1.6      /** Expression that identifies the function where all methods
     1.7 -     * should be added into.
     1.8 +     * should be added into. If this attribute is unspecified
     1.9 +     * all methods are added to the same object specified by
    1.10 +     * {@link #prototype()}.
    1.11 +     * 
    1.12       * @return name of function to contain methods found in given class
    1.13       */
    1.14 -    String container();
    1.15 +    String container() default "";
    1.16      /** Expression that defines the way to construct prototype for this
    1.17       * class.
    1.18       * @return expression to construct prototype