thisAKcode / fastapi_streetart_map

0 stars 0 forks source link

hey Bob I don't know how much time you need to spend with that. I'll try to figure it out but if you see the reason let me know. Oterwise let me work on it. I tried using jquery code to access data in loci.js that I pass as a context to the templates.TemplateResponse("map.html", context) . #14

Closed thisAKcode closed 1 year ago

thisAKcode commented 1 year ago
    hey Bob I don't know how much time you need to spend with that. I'll try to figure it out but if you see the reason let me know. Oterwise let me work on it.  I tried using jquery code to access data  in loci.js that I pass as a context to the templates.TemplateResponse("map.html", context) .

As you'll see the renderData() never hits the 'i was ___' part.

Here I found question which partially related to my problem:

https://stackoverflow.com/q/71164792

_Originally posted by @thisAKcode in https://github.com/thisAKcode/fastapi_streetart_map/pull/13#pullrequestreview-1167684818_

bbelderbos commented 1 year ago

Is there a breakpoint set? I searched for "debugger" but cannot find one, yet:

image
bbelderbos commented 1 year ago

Then hitting the play button in the debugger I do see console output:

image