just some javascript
public javascript v1 · immutableif (typeof(MochiKit) != 'undefined'){ connect(window, 'onload', function () { /* startup */ });}var Class = { /* class constructor object */ create: function() { return function() { if ('__init__' in this) this.__init__.apply(this, arguments); } }}Slide = Class.create();Slide.prototype = { /* Model of a slide */ __init__: function (element) { var m = MochiKit.Base; var new_element = m.clone(element); m.updatetree(this, new_element); swapDOM(element, this); }}