UNPKG

jsmoo

Version:

JavaScript Minimalist Object Orientation

27 lines (17 loc) 739 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _has = require("./has"); var _has2 = _interopRequireDefault(_has); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } //import does from './does'; // This is the Role class exported on the global JSMOO, can not be initialized, it can defined attributes with HAS var Role = function Role() { _classCallCheck(this, Role); throw new TypeError("Roles can't be initialized"); }; Role.has = _has2.default; //Role.does = does; exports.default = Role;