Skip to content

Commit bd2304d

Browse files
committed
Fix legacy examples
1 parent 05d58d1 commit bd2304d

9 files changed

+9
-9
lines changed

packages/survey-creator-react/testCafe-V2/by-page.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<script>
3333
window.addEventListener("DOMContentLoaded", () => {
3434
window.surveyJSFramework = "react";
35-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
35+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
3636
SurveyCreatorCore.registerCreatorTheme(SurveyCreatorTheme);
3737
const creator = new SurveyCreator.SurveyCreator({ expandCollapseButtonVisibility: "never", showLogicTab: true, showTranslationTab: true, pageEditMode: "bypage" });
3838
creator.applyCreatorTheme(SurveyCreatorTheme.SC2020);

packages/survey-creator-react/testCafe-V2/dropdown-collapse-view.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<script>
3333
window.addEventListener("DOMContentLoaded", () => {
3434
window.surveyJSFramework = "react";
35-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
35+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
3636
SurveyCreatorCore.registerCreatorTheme(SurveyCreatorTheme);
3737
const creator = new SurveyCreator.SurveyCreator({ expandCollapseButtonVisibility: "never", maxVisibleChoices: 5 });
3838
creator.applyCreatorTheme(SurveyCreatorTheme.SC2020);

packages/survey-creator-react/testCafe-V2/preview-theme-switcher.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<script>
3333
window.addEventListener("DOMContentLoaded", () => {
3434
window.surveyJSFramework = "react";
35-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
35+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
3636
SurveyCreatorCore.registerCreatorTheme(SurveyCreatorTheme);
3737
const creator = new SurveyCreator.SurveyCreator();
3838
creator.applyCreatorTheme(SurveyCreatorTheme.SC2020);

packages/survey-creator-react/testCafe-V2/testcafe-no-license.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<script>
3232
window.addEventListener("DOMContentLoaded", () => {
3333
window.surveyJSFramework = "react";
34-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
34+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
3535
SurveyCreatorCore.registerCreatorTheme(SurveyCreatorTheme);
3636
const creator = new SurveyCreator.SurveyCreator({ expandCollapseButtonVisibility: "never", showLogicTab: true, showTranslationTab: true });
3737
creator.applyCreatorTheme(SurveyCreatorTheme.SC2020);

packages/survey-creator-react/testCafe-V2/testcafe-theme-tab.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<script>
3333
window.addEventListener("DOMContentLoaded", () => {
3434
window.surveyJSFramework = "react";
35-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
35+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
3636
SurveyCreatorCore.registerCreatorTheme(SurveyCreatorTheme);
3737
const creator = new SurveyCreator.SurveyCreator({ expandCollapseButtonVisibility: "never", showThemeTab: true });
3838
creator.applyCreatorTheme(SurveyCreatorTheme.SC2020);

packages/survey-creator-react/testCafe-V2/testcafe-widget.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
</body>
7272
<script>
7373
window.addEventListener("DOMContentLoaded", () => {
74-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
74+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
7575
const creator = new SurveyCreator.SurveyCreator({ expandCollapseButtonVisibility: "never", showLogicTab: true, showTranslationTab: true });
7676
creator.tabResponsivenessMode = "menu";
7777
creator["animationEnabled"] = false;

packages/survey-creator-react/testCafe-V2/testcafe.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<script>
3333
window.addEventListener("DOMContentLoaded", () => {
3434
window.surveyJSFramework = "react";
35-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
35+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
3636
SurveyCreatorCore.registerCreatorTheme(SurveyCreatorTheme);
3737
const creator = new SurveyCreator.SurveyCreator({ expandCollapseButtonVisibility: "never", showLogicTab: true, showTranslationTab: true });
3838
creator.applyCreatorTheme(SurveyCreatorTheme.SC2020);

packages/survey-creator-react/testCafe-V2/testcafe_localized_ui.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<script>
3333
window.addEventListener("DOMContentLoaded", () => {
3434
window.surveyJSFramework = "react";
35-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
35+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
3636
SurveyCreatorCore.registerCreatorTheme(SurveyCreatorTheme);
3737
const loc = SurveyCreatorCore.localization.getLocale("de");
3838
loc.ed.logic = "Miner Logik";

packages/survey-creator-react/testCafe-V2/theme-for-preview-option.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<script>
3333
window.addEventListener("DOMContentLoaded", () => {
3434
window.surveyJSFramework = "react";
35-
SurveyCreatorCore.registerSurveyTheme(SurveyThemes);
35+
SurveyCreatorCore.registerSurveyTheme(SurveyTheme);
3636
SurveyCreatorCore.registerCreatorTheme(SurveyCreatorTheme);
3737
const creator = new SurveyCreator.SurveyCreator({ expandCollapseButtonVisibility: "never", themeForPreview: "modern" });
3838
creator.applyCreatorTheme(SurveyCreatorTheme.SC2020);

0 commit comments

Comments
 (0)