The code sample is here.
The big code chunk starts with
new function(settings) {
and ends with
}(jQuery.query || {}); // Pass in jQuery.query as settings object
What does this trick do?
Why does Eclipse find 2 errors here? Eclipse dislikes new at the beginning. May I just remove it? Also Eclipse wishes ]
at the end to "to complete NewExpression".
What does this mean? How to write this with []
?