cascading assignments are not that uncommon in js, esp for people used to writing for the least amount of bytes. Saying don't do it is all well and good from a white-tower POV, but it doesn't address the fact that it is perfectly valid javascript. The latest release seems to have fixed the issue regardless.
On Jan 23, 5:26 pm, sizzlemctwizzle <[email protected]> wrote: > We yeah that's a terrible assignment. Don't do it. > > On Jan 22, 2:35 pm, "marr.adam" <[email protected]> wrote: > > > took a while to find this one in one of my scripts, but after the > > update, the script started failing on this line... > > > var left = top = 0; > > > not a great declaration, but it worked before. Switching this to > > var left = 0, top = 0; (how it probably should have been initially) > > fixed the problem. -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
