PageRenderTime 80ms CodeModel.GetById 39ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 1ms

/library/platform/DOMOpera.py

http://pyjamas.googlecode.com/
Python | 9 lines | 9 code | 0 blank | 0 comment | 0 complexity | bfaa293bc26da35cff9f2cb7522ce102 MD5 | raw file
1def eventGetButton(evt):
2    JS("""
3    var button = evt.button;
4    if(button == 0){
5        return 1;
6    } else {
7        return button;
8    }
9    """)