teeworlds-econ
Version:
Teeworlds external console
21 lines (13 loc) • 747 B
JavaScript
var EconConnectionError, EconError,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
EconError = require('./econ-error');
EconConnectionError = (function(superClass) {
extend(EconConnectionError, superClass);
function EconConnectionError() {
return EconConnectionError.__super__.constructor.apply(this, arguments);
}
EconConnectionError.prototype.name = 'EconConnectionError';
return EconConnectionError;
})(EconError);
module.exports = EconConnectionError;