mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
15 lines
322 B
JavaScript
15 lines
322 B
JavaScript
(function () {
|
|
if (typeof Mario === "undefined") {
|
|
window.Mario = {};
|
|
}
|
|
|
|
var Util = (Mario.Util = {});
|
|
|
|
Util.inherits = function (subclass, superclass) {
|
|
function Surrogate() {}
|
|
|
|
Surrogate.prototype = superclass.prototype;
|
|
subclass.prototype = new Surrogate();
|
|
};
|
|
})();
|