1 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2 |
|
3 | 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); } }
|
4 |
|
5 | function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
6 |
|
7 | var Provider = function () {
|
8 | function Provider() {
|
9 | _classCallCheck(this, Provider);
|
10 | }
|
11 |
|
12 | _createClass(Provider, [{
|
13 | key: "getElements",
|
14 | value: function getElements(_type) {
|
15 | throw new Error('Provider.getElements() is not implemented!');
|
16 | }
|
17 | }, {
|
18 | key: "handleAPI",
|
19 | value: function handleAPI(_api) {
|
20 | throw new Error('Provider.handleAPI() is not implemented!');
|
21 | }
|
22 | }, {
|
23 | key: "getConfig",
|
24 | value: function getConfig() {
|
25 | console.error('Provider.getConfig() is not implemented!');
|
26 | return {};
|
27 | }
|
28 | }]);
|
29 |
|
30 | return Provider;
|
31 | }();
|
32 |
|
33 | export { Provider as default }; |
\ | No newline at end of file |