UNPKG

camelot-unchained

Version:
21 lines (16 loc) 794 B
/** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Announcement = function Announcement() { var message = arguments.length <= 0 || arguments[0] === undefined ? '' : arguments[0]; var type = arguments.length <= 1 || arguments[1] === undefined ? 0 : arguments[1]; _classCallCheck(this, Announcement); this.message = message; this.type = type; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Announcement;