Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict';
|
---|
| 2 | /* eslint-disable
|
---|
| 3 | no-unused-vars
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
---|
| 7 |
|
---|
| 8 | function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
---|
| 9 |
|
---|
| 10 | function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
---|
| 11 |
|
---|
| 12 | module.exports = /*#__PURE__*/function () {
|
---|
| 13 | function BaseClient() {
|
---|
| 14 | _classCallCheck(this, BaseClient);
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | _createClass(BaseClient, null, [{
|
---|
| 18 | key: "getClientPath",
|
---|
| 19 | value: function getClientPath(options) {
|
---|
| 20 | throw new Error('Client needs implementation');
|
---|
| 21 | }
|
---|
| 22 | }]);
|
---|
| 23 |
|
---|
| 24 | return BaseClient;
|
---|
| 25 | }(); |
---|
Note:
See
TracBrowser
for help on using the repository browser.