ace/build/pilot/oop.js
2011-01-10 13:17:14 +01:00

18 lines
No EOL
347 B
JavaScript

define(function(e, d) {
d.inherits = function(a, b) {
var c = function() {
};
c.prototype = b.prototype;
a.super_ = b.prototype;
a.prototype = new c;
a.prototype.constructor = a
};
d.mixin = function(a, b) {
for(var c in b) {
a[c] = b[c]
}
};
d.implement = function(a, b) {
d.mixin(a, b)
}
});