New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documented web usage doesn't work #6
Comments
Could you please provide the repro example? :-) |
As discussed in person, it was indeed a simple lower/upper case error... 🙄 |
When ajv is imported, the global variable is called `Ajv`, not `ajv`, hence the change in the webpack config is necessary. The changes in jsonschema.js are not even necessary, but IMO for clearness/consistency they're nice anyway.
Very important for the previous commit to actually work: We need the bundled version.
For future reference: The repro example I was using was exactly this script: openeo-js-processgraphs/examples/browser.html Lines 1 to 34 in 13974e8
executed with the response of https://earthengine.openeo.org/v1.0/processes and the Earth Engine driver sample process graph. |
Fix webpack config (closes #6 about web usage)
The Readme says:
Putting those two lines into the
<head>
of a very simple HTML file gives me:The text was updated successfully, but these errors were encountered: