Show More
Commit Description:
- clean up link to problem stat and user stat...
Commit Description:
- clean up link to problem stat and user stat (grafted from 45d1e12e9794a23a5431222fe2f4c7461d73a529)
File last commit:
Show/Diff file:
Action:
lib/assets/Lib/browser/websocket.py | 9 lines | 260 B | text/x-python | PythonLexer |
from browser import window
import javascript
if hasattr(window, 'WebSocket'):
supported = True
WebSocket = javascript.JSConstructor(window.WebSocket)
else:
supported = False
def WebSocket(*args,**kw):
raise NotImplementedError