blob: 1ad305e21e196b5f6d2839459bad9a24cb6d807b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
"use strict";
/* Class utilities */
var classes = {
subclass: function(child, parent) {
function ctor() { this.constructor = child; }
ctor.prototype = parent.prototype;
child.prototype = new ctor();
}
};
module.exports = classes;
|