Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

version.js 474B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _validate = _interopRequireDefault(require("./validate.js"));
  7. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  8. function version(uuid) {
  9. if (!(0, _validate.default)(uuid)) {
  10. throw TypeError('Invalid UUID');
  11. }
  12. return parseInt(uuid.substr(14, 1), 16);
  13. }
  14. var _default = version;
  15. exports.default = _default;