PageRenderTime 45ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/pyjs/tests/test003.js

http://pyjamas.googlecode.com/
JavaScript | 17 lines | 17 code | 0 blank | 0 comment | 0 complexity | ce83298cb1831cb3b29e0578974313f2 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. __ui_UIObject.prototype.__class__ = "ui_UIObject";
  2. function ui_UIObject() {
  3. return new __ui_UIObject();
  4. }
  5. function __ui_UIObject() {
  6. }
  7. pyjs_extend(__ui_Widget, __ui_UIObject);
  8. __ui_Widget.prototype.__class__ = "ui_Widget";
  9. function ui_Widget() {
  10. return new __ui_Widget();
  11. }
  12. function __ui_Widget() {
  13. __ui_UIObject.call(this);
  14. }
  15. __ui_Widget.prototype.setParent = function(parent) {
  16. this.parent = parent;
  17. };