diff -r 8ceee38f5840 -r 1ee4ec90710e core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptPrototype.java --- a/core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptPrototype.java Sun Dec 02 21:00:12 2012 +0100 +++ b/core/src/main/java/org/apidesign/bck2brwsr/core/JavaScriptPrototype.java Wed Feb 13 16:14:07 2013 +0100 @@ -29,10 +29,13 @@ @Target({ ElementType.TYPE }) public @interface JavaScriptPrototype { /** Expression that identifies the function where all methods - * should be added into. + * should be added into. If this attribute is unspecified + * all methods are added to the same object specified by + * {@link #prototype()}. + * * @return name of function to contain methods found in given class */ - String container(); + String container() default ""; /** Expression that defines the way to construct prototype for this * class. * @return expression to construct prototype