nicolagreco/isawake — pull request #4 by framp (2014-07-22 22:22:51+00:00)
Title: Refactoring

Code cleaning (removed those ugly if elseif)
JSLinted (not exactly my kind of thing - but I noticed you were using 4 spaces indentation, multiple var declaration and I assumed you were following Crockford)
Added personRange (because not everyone sleeps!)