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

LABjs blocking the executation of jquery each() #128

@carolmoises

Description

@carolmoises

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions