PageRenderTime 124ms CodeModel.GetById 120ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/pyjs/tests/test004.js

http://pyjamas.googlecode.com/
JavaScript | 25 lines | 25 code | 0 blank | 0 comment | 0 complexity | e1b9755dc7e3d6c3c149aac8fd1e10ab MD5 | raw file
 1__ui_UIObject.prototype.__class__ = "ui_UIObject";
 2function ui_UIObject() {
 3    return new __ui_UIObject();
 4}
 5function __ui_UIObject() {
 6}
 7__ui_UIObject.prototype.setElement = function(element) {
 8    this.element = element;
 9};
10pyjs_extend(__ui_Widget, __ui_UIObject);
11__ui_Widget.prototype.__class__ = "ui_Widget";
12function ui_Widget() {
13    return new __ui_Widget();
14}
15function __ui_Widget() {
16    __ui_UIObject.call(this);
17}
18pyjs_extend(__ui_FocusWidget, __ui_Widget);
19__ui_FocusWidget.prototype.__class__ = "ui_FocusWidget";
20function ui_FocusWidget(element) {
21    return new __ui_FocusWidget(element);
22}
23function __ui_FocusWidget(element) {
24    this.setElement(element);
25}