Count the open parentheses in this line:
loadarea.empty( ).append($.thumbnailviewer2.buildimage($, $anchor, s, options) ^ ^ ^ ^ ^ 1 0 1 2 1
Add another closed groove; the parser considers that you are still specifying the arguments to the append() function, and the var keyword is not valid in this context.
Also use semicolons. If not for you, do it for Douglasβs health.
cdhowie
source share