01org/appframework — pull request #263 by Philzen (2013-06-05 06:27:28+00:00)
Title: Optimisations - Faster Logical Comparison

Those changes are supposed to make AF UI even more performant whilst maintaining code integrity.

There were a couple of places with straightforward comparisons with `==` against
- non-empty strings
- `indexOf()` returning -1
- `.length` being 1 (or anything except 1)

Explicitely did not touch any of the comparisons against zero, null, undefined or empty strings as such a change could have easily broken something.