howsmydriving-seattle
Version:
Seattle region plug-in for @HowsMyDrivingWA.
36 lines (35 loc) • 1.42 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var howsmydriving_utils_1 = require("howsmydriving-utils");
var seattle_1 = require("./seattle");
var SeattleCitation = /** @class */ (function (_super) {
__extends(SeattleCitation, _super);
function SeattleCitation(citation) {
var _this = _super.call(this, citation) || this;
// If passed an existing instance, copy over the properties.
if (arguments.length > 0) {
for (var p in citation) {
if (citation.hasOwnProperty(p)) {
_this[p] = citation[p];
}
}
}
_this.region = seattle_1.__REGION_NAME__;
return _this;
}
return SeattleCitation;
}(howsmydriving_utils_1.Citation));
exports.SeattleCitation = SeattleCitation;