survey-library icon indicating copy to clipboard operation
survey-library copied to clipboard

Is there a reason the current repo does not contain newest example code?

Open geckotechcr opened this issue 1 year ago • 0 comments

Are you requesting a feature, reporting a bug or asking a question?

QUESTION

I had downloaded the survey-library to test how easy it was to modify a survey. I simply cloned the repo and then opened (via the browser) the ./examples/jquery/index.html. It did not work because there were references to artifacts in the repo that did not path properly or did not exist. I then visited the https://github.com/surveyjs/code-examples/tree/main/get-started-library/jquery and update the index.html and index.js in the survey-library repo with the ones from the code examples, and all works fine.

My question: is there a specific reason that the survey-library does not incorporate these working files? Or is there something I am doing wrong?

What is the current behavior?

Trying to load the index.html for any of the examples does not work due to non working references within index.html

What is the expected behavior?

I would think I should just be able to click on index.html in any examples/ dir and it will render. Maybe there is something I am not getting?

How would you reproduce the current behavior (if this is a bug)?

Download repo and then double click on index.html in jquery example set.

Provide the test code and the tested page URL (if applicable)

NA

Tested page URL:

file:///C:/tmp/survey-library/examples/jquery/index.html (Does not work unless you update code from code-examples repo

Test code

your_code_here

Specify your

  • browser: Chrome (latest) Edge (latest)
  • browser version: latest on both
  • surveyjs platform (angular or react or jquery or knockout or vue): jquery latest from CDM
  • surveyjs version: Latest as of 4FEB24

geckotechcr avatar Feb 04 '24 15:02 geckotechcr