Closed JustinGOSSES closed 4 years ago
might relate to #103 or #102 ? @dcslagel
Is that error from running demo.html locally or from https://justingosses.github.io/wellioviz/demo.html?
Wonder if the bundle needs to be regenerated with the changes to demo.html for everything to work. I'll give that a try locally. I'll copy these changes in a demo-menu.html and post a new pull request. That way we can check for 'online' issues before merging into the live demo.html.
DC
I saw it when running: https://justingosses.github.io/wellioviz/demo.html
The bundle suggestion sounds plausible but haven't had chance to check.
I can see the issue when running demo.html locally and with the browsers dev-console open. Okay the issue is caused by the by mistaken update of Jquery to Jquery-slim. Fix is in #110.
https://github.com/JustinGOSSES/wellioviz/pull/110 fixes this and re-adds the new menu functionality. Let me know if you would prefer these to be separate pull requests and I'll make that change.
The issue was that during the recent update of Bootstrap and its dependencies Jquery was updated to a 'slim' version that doesn't include ajax.
Yep, merged in #110 and it is fixex
Great. :-)
Describe the bug
bundle.js:22171 Uncaught TypeError: Cannot read property 'split' of undefined at splitLineofType1 (bundle.js:22171) at las2json (bundle.js:22199) at convert_and_startHelpers (main.js:138) at HTMLButtonElement.onclick (demo.html:80) splitLineofType1 @ bundle.js:22171 las2json @ bundle.js:22199 convert_and_startHelpers @ main.js:138 onclick @ demo.html:80 12main.js:76 Uncaught TypeError: $.ajax is not a function at readInLASFromASSETS (main.js:76) at HTMLButtonElement.onclick (demo.html:70)