Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

LABjs blocking the executation of jquery each() #128

Open
carolmoises opened this issue Apr 13, 2017 · 0 comments
Open

LABjs blocking the executation of jquery each() #128

carolmoises opened this issue Apr 13, 2017 · 0 comments

Comments

@carolmoises
Copy link

Hello,

I want to report an issue. I got a jquery script that uses each() which iterates with JSON files. The error is very generic:
TypeError: $.each is not a function
Test Cases:
1 - When debugging (F12) it works fines, it seems something is blocking or causing a delay when running.
2 - All JS included were commented in this page and we noticed that it works fine without the LABjs.
3 - I tried to move the code from the page to a JS file and just includes the .JS in the page but neither alternatives worked.
4 - I noticed that I need LABjs because there are many of JS scripts in the code and its execution need to be coordinated in the right order.
5 - The script to load cities as the state selected works fine in another page with one javascript.

Is there any option or any way recommended to structure or configure the code to resolve this problem?

Thanks.
Carol

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant