Skip to content

Commit

Permalink
Work for #48 - refactoring - introduce data names property and pass a…
Browse files Browse the repository at this point in the history
… single question name to data provider function
  • Loading branch information
tsv2013 committed Jun 28, 2024
1 parent cc570ed commit 0c3b376
Show file tree
Hide file tree
Showing 8 changed files with 213 additions and 162 deletions.
13 changes: 1 addition & 12 deletions examples/summary-remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,22 @@
<html>

<head>
<title>Summary Example</title>
<title>Summary Remote Data Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="stylesheet" type="text/css" href="../packages/survey.analytics.css" />

<script src="https://cdn.rawgit.com/inexorabletash/polyfill/master/typedarray.js"></script>

<script src="https://polyfill.io/v3/polyfill.min.js"></script>

<script src="https://unpkg.com/plotly.js-dist-min/plotly.min.js"></script>

<script src="https://unpkg.com/wordcloud@1.1.0/src/wordcloud2.js"></script>

<script src="../node_modules/survey-core/survey.core.js"></script>
<script src="../node_modules/survey-core/survey.i18n.js"></script>
<script src="../packages/survey.analytics.js"></script>
</head>

<body>
<style>
#summaryContainer>.sa-question:nth-child(2) {
width: 100%;
}
</style>

<div id="summaryContainer"></div>
<script src="./data.js"></script>
<script src="./summary-remote.js"></script>
</body>

Expand Down
Loading

0 comments on commit 0c3b376

Please sign in to comment.