surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.09k stars 795 forks source link

error issue #72

Closed javismiles closed 7 years ago

javismiles commented 7 years ago

Hi I have followed all the instructions to install survey.js, included all the necessary files (using react) and yet im getting an error "<" on ReactDOM.render(, document.getElementById("surveyContainer"));

s1.html:46 Uncaught SyntaxError: Unexpected token <

javismiles commented 7 years ago

any idea of why I'm getting that error here?

javismiles commented 7 years ago

The example with knockout.js works perfectly (but you have a mistake at the very end of it, and extra ")" that has to be deleted, but I want to use react, the example with react just fails giving the < character error

javismiles commented 7 years ago

ok I had to use babel specifier in script tag