jQl
jQl copied to clipboard
Removing Remapping Code In Last Line Causes An Error
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.