Skip to content

Removing Remapping Code In Last Line Causes An Error #7

@PixTraveler

Description

@PixTraveler

I created a simplified version of jQl that requires that the qdep function must be used to execute all dependent inline code and eliminates the code that automatically re-maps $, $(function(){...}), jQuery(function(){...}), and similar to call the jQL ready function.

This causes an error in lines like "if (typeof window.jQuery.fn == 'undefined')" when the jQuery name is not re-mapped and the boot function is called before jQuery is loaded. I have changed the line to "if (typeof window.jQuery == 'undefined' || typeof window.jQuery.fn == 'undefined')" in my code. I also changed two other similar lines.

Please consider making these three changes in the official code.

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