Elgg/Elgg — pull request #7526 by ewinslow (2014-11-23 16:08:51+00:00)
Title: chore(js): Don't use assignment expression value in control flow

It's very hard to tell whether it's intentional or a bug, so we avoid it.