@instructure/quiz-core 20.17.3-rc.3 → 20.17.3-rc.5
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.
|
@@ -141,6 +141,9 @@ export var TimerService = /*#__PURE__*/function () {
|
|
|
141
141
|
timerRunning: timerRunning,
|
|
142
142
|
timeLeftInSeconds: timeLeftInSeconds
|
|
143
143
|
});
|
|
144
|
+
if (prevTimerData.get('timeLeftInSeconds') > 120 && timeLeftInSeconds <= 120) {
|
|
145
|
+
this._alert(t('You have less than 2 minutes remaining.'));
|
|
146
|
+
}
|
|
144
147
|
if (prevTimerData.get('timeLeftInSeconds') > 30 && timeLeftInSeconds <= 30) {
|
|
145
148
|
this._alert(t('You have less than 30 seconds remaining.'));
|
|
146
149
|
}
|
|
@@ -148,6 +148,9 @@ var TimerService = exports.TimerService = /*#__PURE__*/function () {
|
|
|
148
148
|
timerRunning: timerRunning,
|
|
149
149
|
timeLeftInSeconds: timeLeftInSeconds
|
|
150
150
|
});
|
|
151
|
+
if (prevTimerData.get('timeLeftInSeconds') > 120 && timeLeftInSeconds <= 120) {
|
|
152
|
+
this._alert((0, _formatMessage.default)('You have less than 2 minutes remaining.'));
|
|
153
|
+
}
|
|
151
154
|
if (prevTimerData.get('timeLeftInSeconds') > 30 && timeLeftInSeconds <= 30) {
|
|
152
155
|
this._alert((0, _formatMessage.default)('You have less than 30 seconds remaining.'));
|
|
153
156
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "20.17.3-rc.
|
|
3
|
+
"version": "20.17.3-rc.5+3d56762c8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@instructure/emotion": "^8.51.0",
|
|
45
45
|
"@instructure/grading-utils": "^1.0.0",
|
|
46
46
|
"@instructure/outcomes-ui": "^3.2.2",
|
|
47
|
-
"@instructure/quiz-common": "20.17.3-rc.
|
|
48
|
-
"@instructure/quiz-i18n": "20.17.3-rc.
|
|
49
|
-
"@instructure/quiz-interactions": "20.17.3-rc.
|
|
50
|
-
"@instructure/quiz-number-input": "20.17.3-rc.
|
|
51
|
-
"@instructure/quiz-rce": "20.17.3-rc.
|
|
47
|
+
"@instructure/quiz-common": "20.17.3-rc.5+3d56762c8",
|
|
48
|
+
"@instructure/quiz-i18n": "20.17.3-rc.5+3d56762c8",
|
|
49
|
+
"@instructure/quiz-interactions": "20.17.3-rc.5+3d56762c8",
|
|
50
|
+
"@instructure/quiz-number-input": "20.17.3-rc.5+3d56762c8",
|
|
51
|
+
"@instructure/quiz-rce": "20.17.3-rc.5+3d56762c8",
|
|
52
52
|
"@instructure/ui-a11y-content": "^8.51.0",
|
|
53
53
|
"@instructure/ui-alerts": "^8.51.0",
|
|
54
54
|
"@instructure/ui-avatar": "^8.51.0",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"file-saver": "~2.0.5",
|
|
112
112
|
"humps": "^2.0.0",
|
|
113
113
|
"immutable": "^3.8.1",
|
|
114
|
-
"instructure-validations": "20.17.3-rc.
|
|
114
|
+
"instructure-validations": "20.17.3-rc.5+3d56762c8",
|
|
115
115
|
"ipaddr.js": "^1.5.4",
|
|
116
116
|
"isomorphic-fetch": "^2.2.0",
|
|
117
117
|
"isuuid": "^0.1.0",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"jquery": "^2.2.3",
|
|
161
161
|
"karma-junit-reporter": "^2.0.1",
|
|
162
162
|
"most-subject": "^5.3.0",
|
|
163
|
-
"quiz-presets": "20.17.3-rc.
|
|
163
|
+
"quiz-presets": "20.17.3-rc.5+3d56762c8",
|
|
164
164
|
"react": "^16.8.6",
|
|
165
165
|
"react-addons-test-utils": "^15.6.2",
|
|
166
166
|
"react-dom": "^16.8.6",
|
|
@@ -176,5 +176,5 @@
|
|
|
176
176
|
"publishConfig": {
|
|
177
177
|
"access": "public"
|
|
178
178
|
},
|
|
179
|
-
"gitHead": "
|
|
179
|
+
"gitHead": "3d56762c88acd7d91e51d92dd4891017274241e2"
|
|
180
180
|
}
|