synced web2py.js, thanks Jeremy

This commit is contained in:
mdipierro
2012-09-24 20:18:30 -05:00
parent 0f322f8a69
commit 30727ef9e4
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ function web2py_component(action, target, timeout, times){
web2py_ajax_page('get', action, null, target);
} }); }
function web2py_comet(url,onmessage,onopen,onclose) {
function web2py_websocket(url,onmessage,onopen,onclose) {
if ("WebSocket" in window) {
var ws = new WebSocket(url);
ws.onopen = onopen?onopen:(function(){});
@@ -70,6 +70,7 @@
</li><li>Ian Reinhart Geiser (html helpers)
</li><li>Ionel Anton (Romanian translation)
</li><li>Jan Beilicke (markmin)
</li><li>Jeremy Dillworth
</li><li>Jonathan Benn (is_url validator and tests)
</li><li>Jonathan Lundell (multiple contributions)
</li><li>Josh Goldfoot (xaml/html sanitizer)