File diff r25312:74a57444c071 → r25313:a5c6f5530336
os/emscripten/pre.js
Show inline comments
 
@@ -65,10 +65,14 @@ Module.preRun.push(function() {
 
    }
 

	
 
    window.openttd_server_list = function() {
 
        add_server = Module.cwrap("em_openttd_add_server", null, ["string", "number"]);
 
        add_server = Module.cwrap("em_openttd_add_server", null, ["string"]);
 

	
 
        /* Add servers that support WebSocket here. Example:
 
         *  add_server("localhost", 3979); */
 
        /* Add servers that support WebSocket here. Examples:
 
         *  add_server("localhost");
 
         *  add_server("localhost:3979");
 
         *  add_server("127.0.0.1:3979");
 
         *  add_server("[::1]:3979");
 
         */
 
    }
 

	
 
    var leftButtonDown = false;