1.1 --- a/vm/src/main/java/org/apidesign/vm4brwsr/Bck2Brwsr.java Thu Jan 10 20:15:11 2013 +0100
1.2 +++ b/vm/src/main/java/org/apidesign/vm4brwsr/Bck2Brwsr.java Tue Feb 12 23:30:01 2013 +0100
1.3 @@ -40,6 +40,16 @@
1.4 * In this scenario, when a request for an unknown class is made, the loader
1.5 * function is asked for its byte code and the system dynamically transforms
1.6 * it to JavaScript.
1.7 + * <p>
1.8 + * Instead of a loader function, one can also provide a URL to a JAR file.
1.9 + * The <code>bck2brwsr</code> system will do its best to download the file
1.10 + * and provide loader function for it automatically.
1.11 + * <p>
1.12 + * One can provide as many loader functions and JAR URL references as necessary.
1.13 + * Then the initialization code would look like:<pre>
1.14 + * var vm = bck2brwsr(url1, url2, fnctn1, url3, functn2);
1.15 + * </pre>
1.16 + * The provided URLs and loader functions will be consulted one by one.
1.17 *
1.18 * @author Jaroslav Tulach <jtulach@netbeans.org>
1.19 */