diff -r aef4fd91e99c -r 1ee59fe94653 vm/src/main/java/org/apidesign/vm4brwsr/Bck2Brwsr.java --- a/vm/src/main/java/org/apidesign/vm4brwsr/Bck2Brwsr.java Thu Jan 10 20:15:11 2013 +0100 +++ b/vm/src/main/java/org/apidesign/vm4brwsr/Bck2Brwsr.java Tue Feb 12 23:30:01 2013 +0100 @@ -40,6 +40,16 @@ * In this scenario, when a request for an unknown class is made, the loader * function is asked for its byte code and the system dynamically transforms * it to JavaScript. + *

+ * Instead of a loader function, one can also provide a URL to a JAR file. + * The bck2brwsr system will do its best to download the file + * and provide loader function for it automatically. + *

+ * One can provide as many loader functions and JAR URL references as necessary. + * Then the initialization code would look like:

+ * var vm = bck2brwsr(url1, url2, fnctn1, url3, functn2);
+ * 
+ * The provided URLs and loader functions will be consulted one by one. * * @author Jaroslav Tulach */