mirror of
https://github.com/pyscript/pyscript.git
synced 2022-05-01 19:47:48 +03:00
14 lines
316 B
JavaScript
14 lines
316 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();
|
|
}
|
|
})() |