Skip to content

Commit

Permalink
[semver:patch] Fix the way we calculate the overlay element positioni…
Browse files Browse the repository at this point in the history
…ng to support scrolling. Add Aborting action to recorder.
  • Loading branch information
hidday committed Aug 15, 2022
1 parent bf39fd0 commit 6e03c2f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions dist/development/strigo.sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -11924,7 +11924,7 @@ ${JSON.stringify(parsedContext)}` : "");
}
function generateCssURL(version) {
if (window.Strigo.isDevelopment()) {
return `${"http://local.strigo.io:7002"}/styles/strigo.css`;
return `${SDK_LOCAL_URL}/styles/strigo.css`;
}
if (version) {
return `${CDN_BASE_PATH}@${version}/dist/production/styles/strigo.min.css`;
Expand All @@ -11933,7 +11933,7 @@ ${JSON.stringify(parsedContext)}` : "");
}
function generateWidgetCssURL(version) {
if (window.Strigo.isDevelopment()) {
return `${"http://local.strigo.io:7002"}/styles/strigo-widget.css`;
return `${SDK_LOCAL_URL}/styles/strigo-widget.css`;
}
if (version) {
return `${CDN_BASE_PATH}@${version}/dist/production/styles/strigo-widget.min.css`;
Expand All @@ -11942,7 +11942,7 @@ ${JSON.stringify(parsedContext)}` : "");
}
function generateAcademyHatCssURL(version) {
if (window.Strigo.isDevelopment()) {
return `${"http://local.strigo.io:7002"}/styles/strigo-academy-hat.css`;
return `${SDK_LOCAL_URL}/styles/strigo-academy-hat.css`;
}
if (version) {
return `${CDN_BASE_PATH}@${version}/dist/production/styles/strigo-academy-hat.min.css`;
Expand All @@ -11951,15 +11951,15 @@ ${JSON.stringify(parsedContext)}` : "");
}
function generateRecorderCssURL(version) {
if (window.Strigo.isDevelopment()) {
return `${"http://local.strigo.io:7002"}/styles/strigo-assessment-recorder.css`;
return `${SDK_LOCAL_URL}/styles/strigo-assessment-recorder.css`;
}
if (version) {
return `${CDN_BASE_PATH}@${version}/dist/production/styles/strigo-assessment-recorder.min.css`;
}
return `${CDN_BASE_PATH}@master/dist/production/styles/strigo-assessment-recorder.min.css`;
}
function generateAssessmentRecorderURL() {
return window.Strigo.isDevelopment() ? "http://local.strigo.io:7015" : ASSESSMENT_RECORDER_URL;
return window.Strigo.isDevelopment() ? RECORDER_LOCAL_URL : ASSESSMENT_RECORDER_URL;
}
function isRecordingUrlParamExists() {
const { search } = window.location;
Expand Down Expand Up @@ -13208,7 +13208,7 @@ ${JSON.stringify(parsedContext)}` : "");
this.config = {};
}
isDevelopment() {
return true;
return false;
}
init() {
try {
Expand Down
32 changes: 16 additions & 16 deletions dist/production/strigo.sdk.min.js

Large diffs are not rendered by default.

0 comments on commit 6e03c2f

Please sign in to comment.