PageRenderTime 62ms CodeModel.GetById 32ms app.highlight 2ms RepoModel.GetById 27ms app.codeStats 0ms

/pyjs/tests/test010.js

http://pyjamas.googlecode.com/
JavaScript | 10 lines | 10 code | 0 blank | 0 comment | 0 complexity | 5a5f3b8957172af8a0db18a85aac1c82 MD5 | raw file
 1__Hello.prototype.__class__ = "Hello";
 2function Hello() {
 3    return new __Hello();
 4}
 5function __Hello() {
 6}
 7__Hello.prototype.onModuleLoad = function() {
 8    var b = ui_Button("Click me");
 9    ui_RootPanel().add(b);
10};