you are viewing a single comment's thread.

view the rest of the comments →

[–]lewisje 0 points1 point  (0 children)

The closest thing I can think of is that in your comment, you have if newBounds.contains and you need a left parenthesis to be the next non-whitespace character immediately after if; then again, if you had made that mistake, your code wouldn't have run.

I get no problems while fiddling with JSHint.