@instructure/quiz-core 17.67.0 → 17.67.1-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,22 +23,21 @@ export var fetchReportsStatus = /*#__PURE__*/function () {
23
23
  setGenerationInProgress(false);
24
24
  }
25
25
 
26
- _context.next = 14;
27
- break;
26
+ return _context.abrupt("return", isReportGenerationReady);
28
27
 
29
- case 9:
30
- _context.prev = 9;
28
+ case 10:
29
+ _context.prev = 10;
31
30
  _context.t0 = _context["catch"](1);
32
31
  addError(getFailedToFetchReports());
33
32
  setStatusPollingInProgress(false);
34
33
  setGenerationInProgress(false);
35
34
 
36
- case 14:
35
+ case 15:
37
36
  case "end":
38
37
  return _context.stop();
39
38
  }
40
39
  }
41
- }, _callee, null, [[1, 9]]);
40
+ }, _callee, null, [[1, 10]]);
42
41
  }));
43
42
 
44
43
  return function fetchReportsStatus(_x) {
@@ -1,7 +1,7 @@
1
1
  import _regeneratorRuntime from "@babel/runtime/regenerator";
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
- import React, { useEffect, useRef } from 'react';
4
+ import React, { useEffect } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { itemAnalysisPropType, quizAnalysisPropType } from "./propTypes.js";
7
7
  import { fetchReports } from "./fetchReports.js";
@@ -31,7 +31,6 @@ export var withAnalysisStatePresenter = function withAnalysisStatePresenter(Orig
31
31
  passThroughProps = _objectWithoutProperties(_ref, ["quizAnalysis", "itemAnalyses", "fetchInProgress", "generationInProgress", "analysisError", "setQuizAnalysis", "addError", "setItemAnalyses", "setFetchInProgress", "setGenerationInProgress", "setAnalysisError", "activeQuizId", "generateAnalysis", "fetchQuizAnalysis", "fetchItemAnalyses", "fetchAnalysesStatus", "statusPollingInProgress", "setStatusPollingInProgress", "pollingInterval"]);
32
32
 
33
33
  WithAnalysisStatePresenter.displayName = "WithAnalysisStatePresenter(".concat(OriginalComponent.displayName || OriginalComponent.name, ")");
34
- var runningInterval = useRef(null);
35
34
 
36
35
  var instrumentedFetchReports = function instrumentedFetchReports() {
37
36
  return fetchReports({
@@ -64,15 +63,15 @@ export var withAnalysisStatePresenter = function withAnalysisStatePresenter(Orig
64
63
  }
65
64
 
66
65
  function _generateReports() {
67
- _generateReports = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
66
+ _generateReports = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
68
67
  var filter,
69
68
  generationConfig,
70
- _args2 = arguments;
71
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
69
+ _args3 = arguments;
70
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
72
71
  while (1) {
73
- switch (_context2.prev = _context2.next) {
72
+ switch (_context3.prev = _context3.next) {
74
73
  case 0:
75
- filter = _args2.length > 0 && _args2[0] !== void 0 ? _args2[0] : 'last_attempt';
74
+ filter = _args3.length > 0 && _args3[0] !== void 0 ? _args3[0] : 'last_attempt';
76
75
  generationConfig = {
77
76
  filter: filter,
78
77
  generateAnalysis: generateAnalysis,
@@ -80,15 +79,15 @@ export var withAnalysisStatePresenter = function withAnalysisStatePresenter(Orig
80
79
  setStatusPollingInProgress: setStatusPollingInProgress,
81
80
  addError: addError
82
81
  };
83
- _context2.next = 4;
82
+ _context3.next = 4;
84
83
  return triggerReportGeneration(generationConfig);
85
84
 
86
85
  case 4:
87
86
  case "end":
88
- return _context2.stop();
87
+ return _context3.stop();
89
88
  }
90
89
  }
91
- }, _callee2);
90
+ }, _callee3);
92
91
  }));
93
92
  return _generateReports.apply(this, arguments);
94
93
  }
@@ -126,20 +125,36 @@ export var withAnalysisStatePresenter = function withAnalysisStatePresenter(Orig
126
125
 
127
126
  fetchIfNeeded();
128
127
  }, []);
129
- useEffect(function () {
130
- if (statusPollingInProgress && !runningInterval.current) {
131
- runningInterval.current = setInterval(instrumentedStatusFetching, pollingInterval);
132
- }
133
128
 
134
- if (!statusPollingInProgress && runningInterval.current) {
135
- clearInterval(runningInterval.current);
136
- runningInterval.current = null;
137
- } // unmount cleanup
129
+ var recursiveInstrumentedStatusFetching = /*#__PURE__*/function () {
130
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
131
+ var isReportGenerationReady;
132
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
133
+ while (1) {
134
+ switch (_context2.prev = _context2.next) {
135
+ case 0:
136
+ _context2.next = 2;
137
+ return instrumentedStatusFetching();
138
138
 
139
+ case 2:
140
+ isReportGenerationReady = _context2.sent;
141
+ !isReportGenerationReady && setTimeout(recursiveInstrumentedStatusFetching, pollingInterval);
139
142
 
140
- return function () {
141
- return clearInterval(runningInterval.current);
143
+ case 4:
144
+ case "end":
145
+ return _context2.stop();
146
+ }
147
+ }
148
+ }, _callee2);
149
+ }));
150
+
151
+ return function recursiveInstrumentedStatusFetching() {
152
+ return _ref3.apply(this, arguments);
142
153
  };
154
+ }();
155
+
156
+ useEffect(function () {
157
+ statusPollingInProgress && recursiveInstrumentedStatusFetching();
143
158
  }, [statusPollingInProgress]);
144
159
  return /*#__PURE__*/React.createElement(OriginalComponent, Object.assign({
145
160
  quizAnalysis: quizAnalysis,
@@ -1,8 +1,6 @@
1
1
  import _regeneratorRuntime from "@babel/runtime/regenerator";
2
- import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
2
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
4
3
  import Fetcher from "../../common/util/Fetcher.js";
5
- import loadLearnositySdk from "./loader.js";
6
4
  var questionsApp;
7
5
  var authPromise;
8
6
  export function appendFeature(_x, _x2, _x3) {
@@ -86,16 +84,11 @@ function featureContainer(featureId) {
86
84
  }
87
85
 
88
86
  function authenticate(quizSessionId) {
89
- var loader = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : loadLearnositySdk;
90
- var fetcher = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
87
+ var fetcher = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
91
88
  authPromise = authPromise || new Promise(function (resolve, reject) {
92
89
  var f = fetcher || new Fetcher();
93
- Promise.all([loader(), f.post("/api/quiz_sessions/".concat(quizSessionId, "/learnosity_authentication?domain=").concat(window.location.hostname))]).then(function (_ref) {
94
- var _ref2 = _slicedToArray(_ref, 2),
95
- app = _ref2[0],
96
- response = _ref2[1];
97
-
98
- var questionsApp = app.init(response, {
90
+ f.post("/api/quiz_sessions/".concat(quizSessionId, "/learnosity_authentication?domain=").concat(window.location.hostname)).then(function (response) {
91
+ var questionsApp = window.LearnosityApp.init(response, {
99
92
  errorListener: function errorListener(e) {
100
93
  authPromise = null;
101
94
  reject(e);
@@ -35,22 +35,21 @@ var fetchReportsStatus = /*#__PURE__*/function () {
35
35
  setGenerationInProgress(false);
36
36
  }
37
37
 
38
- _context.next = 14;
39
- break;
38
+ return _context.abrupt("return", isReportGenerationReady);
40
39
 
41
- case 9:
42
- _context.prev = 9;
40
+ case 10:
41
+ _context.prev = 10;
43
42
  _context.t0 = _context["catch"](1);
44
43
  addError((0, _errorMessages.getFailedToFetchReports)());
45
44
  setStatusPollingInProgress(false);
46
45
  setGenerationInProgress(false);
47
46
 
48
- case 14:
47
+ case 15:
49
48
  case "end":
50
49
  return _context.stop();
51
50
  }
52
51
  }
53
- }, _callee, null, [[1, 9]]);
52
+ }, _callee, null, [[1, 10]]);
54
53
  }));
55
54
 
56
55
  return function fetchReportsStatus(_x) {
@@ -50,7 +50,6 @@ var withAnalysisStatePresenter = function withAnalysisStatePresenter(OriginalCom
50
50
  pollingInterval = _ref.pollingInterval,
51
51
  passThroughProps = (0, _objectWithoutProperties2.default)(_ref, ["quizAnalysis", "itemAnalyses", "fetchInProgress", "generationInProgress", "analysisError", "setQuizAnalysis", "addError", "setItemAnalyses", "setFetchInProgress", "setGenerationInProgress", "setAnalysisError", "activeQuizId", "generateAnalysis", "fetchQuizAnalysis", "fetchItemAnalyses", "fetchAnalysesStatus", "statusPollingInProgress", "setStatusPollingInProgress", "pollingInterval"]);
52
52
  WithAnalysisStatePresenter.displayName = "WithAnalysisStatePresenter(".concat(OriginalComponent.displayName || OriginalComponent.name, ")");
53
- var runningInterval = (0, _react.useRef)(null);
54
53
 
55
54
  var instrumentedFetchReports = function instrumentedFetchReports() {
56
55
  return (0, _fetchReports.fetchReports)({
@@ -83,15 +82,15 @@ var withAnalysisStatePresenter = function withAnalysisStatePresenter(OriginalCom
83
82
  }
84
83
 
85
84
  function _generateReports() {
86
- _generateReports = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
85
+ _generateReports = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
87
86
  var filter,
88
87
  generationConfig,
89
- _args2 = arguments;
90
- return _regenerator.default.wrap(function _callee2$(_context2) {
88
+ _args3 = arguments;
89
+ return _regenerator.default.wrap(function _callee3$(_context3) {
91
90
  while (1) {
92
- switch (_context2.prev = _context2.next) {
91
+ switch (_context3.prev = _context3.next) {
93
92
  case 0:
94
- filter = _args2.length > 0 && _args2[0] !== void 0 ? _args2[0] : 'last_attempt';
93
+ filter = _args3.length > 0 && _args3[0] !== void 0 ? _args3[0] : 'last_attempt';
95
94
  generationConfig = {
96
95
  filter: filter,
97
96
  generateAnalysis: generateAnalysis,
@@ -99,15 +98,15 @@ var withAnalysisStatePresenter = function withAnalysisStatePresenter(OriginalCom
99
98
  setStatusPollingInProgress: setStatusPollingInProgress,
100
99
  addError: addError
101
100
  };
102
- _context2.next = 4;
101
+ _context3.next = 4;
103
102
  return (0, _generateReports2.generateReports)(generationConfig);
104
103
 
105
104
  case 4:
106
105
  case "end":
107
- return _context2.stop();
106
+ return _context3.stop();
108
107
  }
109
108
  }
110
- }, _callee2);
109
+ }, _callee3);
111
110
  }));
112
111
  return _generateReports.apply(this, arguments);
113
112
  }
@@ -145,20 +144,36 @@ var withAnalysisStatePresenter = function withAnalysisStatePresenter(OriginalCom
145
144
 
146
145
  fetchIfNeeded();
147
146
  }, []);
148
- (0, _react.useEffect)(function () {
149
- if (statusPollingInProgress && !runningInterval.current) {
150
- runningInterval.current = setInterval(instrumentedStatusFetching, pollingInterval);
151
- }
152
147
 
153
- if (!statusPollingInProgress && runningInterval.current) {
154
- clearInterval(runningInterval.current);
155
- runningInterval.current = null;
156
- } // unmount cleanup
148
+ var recursiveInstrumentedStatusFetching = /*#__PURE__*/function () {
149
+ var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
150
+ var isReportGenerationReady;
151
+ return _regenerator.default.wrap(function _callee2$(_context2) {
152
+ while (1) {
153
+ switch (_context2.prev = _context2.next) {
154
+ case 0:
155
+ _context2.next = 2;
156
+ return instrumentedStatusFetching();
157
157
 
158
+ case 2:
159
+ isReportGenerationReady = _context2.sent;
160
+ !isReportGenerationReady && setTimeout(recursiveInstrumentedStatusFetching, pollingInterval);
158
161
 
159
- return function () {
160
- return clearInterval(runningInterval.current);
162
+ case 4:
163
+ case "end":
164
+ return _context2.stop();
165
+ }
166
+ }
167
+ }, _callee2);
168
+ }));
169
+
170
+ return function recursiveInstrumentedStatusFetching() {
171
+ return _ref3.apply(this, arguments);
161
172
  };
173
+ }();
174
+
175
+ (0, _react.useEffect)(function () {
176
+ statusPollingInProgress && recursiveInstrumentedStatusFetching();
162
177
  }, [statusPollingInProgress]);
163
178
  return /*#__PURE__*/_react.default.createElement(OriginalComponent, Object.assign({
164
179
  quizAnalysis: quizAnalysis,
@@ -12,14 +12,10 @@ exports.reset = reset;
12
12
 
13
13
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
14
14
 
15
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
16
-
17
15
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
18
16
 
19
17
  var _Fetcher = _interopRequireDefault(require("../../common/util/Fetcher.js"));
20
18
 
21
- var _loader = _interopRequireDefault(require("./loader.js"));
22
-
23
19
  var questionsApp;
24
20
  var authPromise;
25
21
 
@@ -105,16 +101,11 @@ function featureContainer(featureId) {
105
101
  }
106
102
 
107
103
  function authenticate(quizSessionId) {
108
- var loader = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _loader.default;
109
- var fetcher = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
104
+ var fetcher = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
110
105
  authPromise = authPromise || new Promise(function (resolve, reject) {
111
106
  var f = fetcher || new _Fetcher.default();
112
- Promise.all([loader(), f.post("/api/quiz_sessions/".concat(quizSessionId, "/learnosity_authentication?domain=").concat(window.location.hostname))]).then(function (_ref) {
113
- var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
114
- app = _ref2[0],
115
- response = _ref2[1];
116
-
117
- var questionsApp = app.init(response, {
107
+ f.post("/api/quiz_sessions/".concat(quizSessionId, "/learnosity_authentication?domain=").concat(window.location.hostname)).then(function (response) {
108
+ var questionsApp = window.LearnosityApp.init(response, {
118
109
  errorListener: function errorListener(e) {
119
110
  authPromise = null;
120
111
  reject(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.67.0",
3
+ "version": "17.67.1-rc.1+bba81e92a",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -42,11 +42,11 @@
42
42
  "dependencies": {
43
43
  "@instructure/grading-utils": "^1.0.0",
44
44
  "@instructure/outcomes-ui": "^2.1.9",
45
- "@instructure/quiz-common": "^17.67.0",
46
- "@instructure/quiz-i18n": "^17.67.0",
47
- "@instructure/quiz-interactions": "^17.67.0",
48
- "@instructure/quiz-number-input": "^17.67.0",
49
- "@instructure/quiz-rce": "^17.67.0",
45
+ "@instructure/quiz-common": "17.67.1-rc.1+bba81e92a",
46
+ "@instructure/quiz-i18n": "17.67.1-rc.1+bba81e92a",
47
+ "@instructure/quiz-interactions": "17.67.1-rc.1+bba81e92a",
48
+ "@instructure/quiz-number-input": "17.67.1-rc.1+bba81e92a",
49
+ "@instructure/quiz-rce": "17.67.1-rc.1+bba81e92a",
50
50
  "@instructure/ui-a11y-content": "^7.20.0",
51
51
  "@instructure/ui-alerts": "^7.20.0",
52
52
  "@instructure/ui-avatar": "^7.20.0",
@@ -107,7 +107,7 @@
107
107
  "eventemitter3": "^3.1.0",
108
108
  "humps": "^2.0.0",
109
109
  "immutable": "^3.8.1",
110
- "instructure-validations": "^17.67.0",
110
+ "instructure-validations": "17.67.1-rc.1+bba81e92a",
111
111
  "ipaddr.js": "^1.5.4",
112
112
  "isomorphic-fetch": "^2.2.0",
113
113
  "isuuid": "^0.1.0",
@@ -139,7 +139,7 @@
139
139
  "uuid": "^3.2.1"
140
140
  },
141
141
  "devDependencies": {
142
- "@instructure/quiz-scripts": "^17.67.0",
142
+ "@instructure/quiz-scripts": "17.67.0",
143
143
  "@instructure/ui-axe-check": "^7.20.0",
144
144
  "@instructure/ui-babel-preset": "^7.20.0",
145
145
  "@instructure/ui-karma-config": "^7.20.0",
@@ -158,7 +158,7 @@
158
158
  "intl": "^1.2.4",
159
159
  "jquery": "^2.2.3",
160
160
  "most-subject": "^5.3.0",
161
- "quiz-presets": "^17.67.0",
161
+ "quiz-presets": "17.67.1-rc.1+bba81e92a",
162
162
  "react": "^16.8.6",
163
163
  "react-addons-test-utils": "^15.6.2",
164
164
  "react-dom": "^16.8.6",
@@ -174,5 +174,5 @@
174
174
  "publishConfig": {
175
175
  "access": "public"
176
176
  },
177
- "gitHead": "b2b943153d890a1ba691ba3a346edfcb4d1d6be5"
177
+ "gitHead": "bba81e92aab7db0f764077bdb90381a1a2475b6c"
178
178
  }
@@ -1,76 +0,0 @@
1
- import _regeneratorRuntime from "@babel/runtime/regenerator";
2
- import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
-
4
- /* global LearnosityApp */
5
- var learnosityURL = 'https://questions.learnosity.com/?v2';
6
- var promise;
7
- export default function loadLearnositySdk() {
8
- return _loadLearnositySdk.apply(this, arguments);
9
- }
10
-
11
- function _loadLearnositySdk() {
12
- _loadLearnositySdk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
13
- return _regeneratorRuntime.wrap(function _callee$(_context) {
14
- while (1) {
15
- switch (_context.prev = _context.next) {
16
- case 0:
17
- if (!promise) {
18
- promise = fetchSdk();
19
- }
20
-
21
- return _context.abrupt("return", promise);
22
-
23
- case 2:
24
- case "end":
25
- return _context.stop();
26
- }
27
- }
28
- }, _callee);
29
- }));
30
- return _loadLearnositySdk.apply(this, arguments);
31
- }
32
-
33
- function fetchSdk() {
34
- return _fetchSdk.apply(this, arguments);
35
- }
36
-
37
- function _fetchSdk() {
38
- _fetchSdk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
39
- var response, learnositySdk, addScript;
40
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
41
- while (1) {
42
- switch (_context2.prev = _context2.next) {
43
- case 0:
44
- _context2.next = 2;
45
- return window.fetch(learnosityURL);
46
-
47
- case 2:
48
- response = _context2.sent;
49
-
50
- if (response.ok) {
51
- _context2.next = 5;
52
- break;
53
- }
54
-
55
- throw new Error('Failed to load the Learnosity SDK');
56
-
57
- case 5:
58
- _context2.next = 7;
59
- return response.text();
60
-
61
- case 7:
62
- learnositySdk = _context2.sent;
63
- addScript = document.createElement('script');
64
- addScript.textContent = learnositySdk;
65
- document.body.appendChild(addScript);
66
- return _context2.abrupt("return", LearnosityApp);
67
-
68
- case 12:
69
- case "end":
70
- return _context2.stop();
71
- }
72
- }
73
- }, _callee2);
74
- }));
75
- return _fetchSdk.apply(this, arguments);
76
- }
@@ -1,87 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = loadLearnositySdk;
9
-
10
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
-
12
- var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
13
-
14
- /* global LearnosityApp */
15
- var learnosityURL = 'https://questions.learnosity.com/?v2';
16
- var promise;
17
-
18
- function loadLearnositySdk() {
19
- return _loadLearnositySdk.apply(this, arguments);
20
- }
21
-
22
- function _loadLearnositySdk() {
23
- _loadLearnositySdk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
24
- return _regenerator.default.wrap(function _callee$(_context) {
25
- while (1) {
26
- switch (_context.prev = _context.next) {
27
- case 0:
28
- if (!promise) {
29
- promise = fetchSdk();
30
- }
31
-
32
- return _context.abrupt("return", promise);
33
-
34
- case 2:
35
- case "end":
36
- return _context.stop();
37
- }
38
- }
39
- }, _callee);
40
- }));
41
- return _loadLearnositySdk.apply(this, arguments);
42
- }
43
-
44
- function fetchSdk() {
45
- return _fetchSdk.apply(this, arguments);
46
- }
47
-
48
- function _fetchSdk() {
49
- _fetchSdk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
50
- var response, learnositySdk, addScript;
51
- return _regenerator.default.wrap(function _callee2$(_context2) {
52
- while (1) {
53
- switch (_context2.prev = _context2.next) {
54
- case 0:
55
- _context2.next = 2;
56
- return window.fetch(learnosityURL);
57
-
58
- case 2:
59
- response = _context2.sent;
60
-
61
- if (response.ok) {
62
- _context2.next = 5;
63
- break;
64
- }
65
-
66
- throw new Error('Failed to load the Learnosity SDK');
67
-
68
- case 5:
69
- _context2.next = 7;
70
- return response.text();
71
-
72
- case 7:
73
- learnositySdk = _context2.sent;
74
- addScript = document.createElement('script');
75
- addScript.textContent = learnositySdk;
76
- document.body.appendChild(addScript);
77
- return _context2.abrupt("return", LearnosityApp);
78
-
79
- case 12:
80
- case "end":
81
- return _context2.stop();
82
- }
83
- }
84
- }, _callee2);
85
- }));
86
- return _fetchSdk.apply(this, arguments);
87
- }