You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the library shouldn't generate multiple alias (jl, jlinq, jLinq), If the user wants to use an abbreviation it's better that he creates an alias inside his scope:
//closure to avoid polluting global scope and also generates alias to jlinq object //since I'm going to call it a lot of times(function(jl){varresult=jl.from(myData).contains('awesome',true).select();varresult2=jl.from...}(jlinq));
if you have some legacy code that uses the alias is very easy to fix it, just by adding the property to the global scope, if documented it should be hard to follow:
//create global alias for backward compatibilitywindow.jl=jlinq;
The text was updated successfully, but these errors were encountered:
I think the library shouldn't generate multiple alias (
jl
,jlinq
,jLinq
), If the user wants to use an abbreviation it's better that he creates an alias inside his scope:or:
if you have some legacy code that uses the alias is very easy to fix it, just by adding the property to the global scope, if documented it should be hard to follow:
The text was updated successfully, but these errors were encountered: