REMINDER
AppDrag.js violation
-
Hi there,
I'm try to get a JSON array from one off my API's, but I keep getting the following error:
[Violation] 'setTimeout' handler took 72ms
And instead of getting a proper JSON array, the data is preceded by loads of {…}, {…}, {…}, {…}, {…}, {…}, {…}
Does anybody know what I might be doing wrong and how to fix this?
Thanks in advance and best regards - Dick
screenshot from Chrome debugger to further illustrate the issue ...
-
@Dick-Honing hey
This is just a warning and have no consequences
More details here:
https://stackoverflow.com/questions/42218699/chrome-violation-violation-handler-took-83ms-of-runtimeAlso I can see on your screenshot that all the results rows are correctly returned ... But you are not doing anything with it except parsing to a javascript array and printing to the console
About the results you see in the console they are collapsed, if you click on them you can uncollapse them and check content
-
@jbenguira thanks for the info. I found the problem (in my code) and got it to work